What is Ideal Design of Class?
Answers were Sorted based on User's Feedback
Answer / venkat
declare variables as Private and methods which accesses
variables as public.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / ershad md sk
Ideal Design of Class is First identity Different Business
Objects and identity Business Data & Business Methods on
which u r working on............Think U are working on
SHAPE class think shape is an object and Draw & erase are
business methods which u should Operate ON..And shape has
Different data objects like Square,Rectangle
| Is This Answer Correct ? | 0 Yes | 0 No |
How does arrays sort work in java?
What happens if an exception is throws from an object's constructor?
Can an integer be a string?
Can you call a private data from an inner class?
What is classes in java?
What is Transient and volatile
What are access modifiers?
What is mysql driver class name?
What are the string methods in java?
Is java is a fully object object oriented language?
Can extern variables be initialized?
How java is similar to c?