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 to handled exceptions & erros in ejb?
What happens to the Exception object after handling an exception?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What is the use of put method?
what is difference between type 4 driver and type 1 driver?
2 Answers CMC, CTS, IBM, JK Technosoft, Napier Healthcare,
why string is not taking as primitive datatypes but we r taking it as a class? why explain it?
List two java ide’s?
Explain scope or life time of local variables in java?
What do you mean by platform independence?
What is difference between class and object in java?
What does a za z0 9 mean?
When will we use class loader?