Results 1 to 1 of 1
- 07-30-2007, 11:13 PM #1
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.
NetBeans provides a way to automatically generate getters and setters of your class variables. It is fast and efficient. Here are the steps.
(more…)
Similar Threads
-
Jsp / Java cannot get fields
By Dracos in forum New To JavaReplies: 0Last Post: 02-04-2008, 09:39 PM -
Show Text Fields on combo Box selected value
By smajidali26 in forum AWT / SwingReplies: 0Last Post: 11-29-2007, 09:28 AM -
Top menu fields hiding
By youayshu in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-13-2007, 07:10 AM -
Help with text fields in Java
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:29 AM -
Special characters in text fields
By Felissa in forum Web FrameworksReplies: 0Last Post: 06-27-2007, 04:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks