JavaBeat Certifications Certifications Kits Articles Interview Questions OCAJP 7 OCPJP 5 OCPJP 6 OCEJWCD 6 SCBCD 5.0 SCEA SCJA
Submit Links | Latest Links | Login (want to submit links for DLinks? send a mail to krishnas@javabeat.net)

How To Add Fields And Generating Getter-Setters

Normally it is a good practice to have class variables declared as private and use non private “getter and setter” methods to access them. This is otherwise called as “Data Encapsulation” in Object Oriented Programming.

Topic: netbeans

Add your comments

 

javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2013), JavaBeat