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 |
Why does java doesnot support multiple inheritance?
What are methods of a class?
What is exception and error? and what is the difference between them?
How many objects are created when we create String class object using new operator?
what are ER diagrams?
any other way to print the text without using System.out.println() in java?
Name four container classes.
Why local variables are stored in stack?
What are peerless components?
types of applets?.
How to find the given number is a prime number or not by getting input from the user
Is java based on c?