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 |
What is the use of arraylist class in java?
What are the advantages of assembly language?
Explain pass by reference and pass by value?
What is meant by method overriding?
Can we synchronize static methods in java?
Can a abstract class be defined without any abstract methods?
how we can write the string concatenation program in java.
What are the different ways of implementing thread? Which one is more advantageous?
Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.
Explain about public and private access specifiers?
difference between String a; and String a=new String();? y do v need to assign memory to the variable?
What 5 doubled?