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 |
Write a program to create a binary Tree ?
What are annotations in java?
Explain listiterator and methods in listiterator?
What is string manipulation?
What are generic methods?
Which of these methods belong to Thread & Object class? join, yield, sleep, wait, notify
What is the lifetime and scope of a variable?
What is an object?s lock? Give name of object?s that have locks?
What is the return type of readLine() when end of a file is reached?
How does map works in java?
What is the difference between the final method and abstract method?
methods in Applet?