Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Communication Patterns: A Guide for Developers and Architects
this week in the
Design and Architecture
forum!
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Other threads similar to
Why data members are private when we can access them through getter/setters?
Beginning Java
Questions about java bean
2 replies
Java in General
Why public setters/getters for a private class variable instead of public class variable ?
2 replies
Developer Certification (OCMJD)
Properties/Settings - a design question
9 replies
Beginning Java
Getters and setters advantages?
5 replies
Java in General
How to access private field and private method in Java
2 replies
Programmer Certification (OCPJP)
Sample question
2 replies
Beginning Java
What is the need for getters and setters ?
7 replies
Beginning Java
private keyword
6 replies
Beginning Java
How does inheritance work with abstract classes
8 replies
Beginning Java
get and set??
4 replies
OO, Patterns, UML and Refactoring
Getter and Setter Methods!!
3 replies
Associate Certification (OCAJP 8)
Twist in the Tale 3.3 in OCA Java SE 7 Programmer I Certification Guide (MALA GUPTA)
Staff volunteer someone thinks this thread is probably resolved
17 replies
1
EJB and other Jakarta/Java EE Technologies
Data Transfer Object query
7 replies
Java in General
getters/setters versus direct access
8 replies
Beginning Java
reflection of private field in super class
6 replies
Programmer Certification (OCPJP)
Confusing Encapsulation and validation question
7 replies
Beginning Java
Basic doubt on Encapsulation
9 replies
Java in General
Getters and Setters Usage
7 replies
Beginning Java
Methods to access objects?
9 replies
Beginning Java
Alternative to update passed arguments.
14 replies
Beginning Java
Modifying instance variables
14 replies
EJB Certification (OCEEJBD)
Doubts about PK rules and BM in entity beans
1 reply
Beginning Java
How to access private constructor using java reflection ?
Staff volunteer someone thinks this thread is probably resolved
12 replies
Beginning Java
firstName has private access in Person
4 replies
Beginning Java
Encapsulation & Information Hiding and Inheritence
2 replies
Beginning Java
Protected / Private ?
4 replies
Beginning Java
Access to variables in another class?
6 replies
Java in General
private variables, public getter and setter. Why?
5 replies
Associate Certification (OCAJP 8)
Encapsulation for Reference Variables
Staff volunteer someone thinks this thread is probably resolved
6 replies
Beginning Java
getter and setter methods.
8 replies
Programmer Certification (OCPJP)
For how long SCJP certification is valid
Staff volunteer someone thinks this thread is probably resolved
7 replies
Java in General
use of getter n setter methods
3 replies
Beginning Java
What is the Right Way (TM) to access private variables?
5 replies
Associate Certification (OCAJP 8)
Opinion about getter method and Errata OCA Online Exam (Sybex)
Staff volunteer someone thinks this thread is probably resolved
8 replies
3
Java in General
what is getter/setter in java ?
11 replies
Java in General
Write a getter and setter to each private field
8 replies
Beginning Java
Value Objects or bean is better and why ?
5 replies
Programmer Certification (OCPJP)
Must all getters and setters be public to be well encapsulated?
10 replies
Beginning Java
Getter Setter concept confusion.
8 replies
Beginning Java
Fields, methods and constructors
12 replies
Beginning Java
Setter and getter
3 replies
Java in General
why getters/setters in java
7 replies
Java in General
Not so private
2 replies
OO, Patterns, UML and Refactoring
MVC is not object oriented??
25 replies
Java in General
JavaBean
4 replies
Associate Certification (OCAJP 8)
Encapsulation
3 replies
1
EJB and other Jakarta/Java EE Technologies
Entity - Field-Based Access Vs Property Based Access
5 replies
EJB Certification (OCEEJBD)
Entity - Field-Based Access Vs Property Based Access
1 reply
Beginning Java
Encapsulation
9 replies
Beginning Java
Variable hiding/encapsulation question.
Staff volunteer someone thinks this thread is probably resolved
3 replies