What is Ideal Design of Class?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java so important?

659


What is the mapping mechanism used by java to identify IDL language?

595


What is the type of lambda expression?

551


What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

606


Explain the purpose of garbage collection in Java?

584






Can you write a java class that could be used both as an applet as well as an application?

523


What is the meaning of variables in research?

537


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

579


Describe the various concepts related to object oriented programming (oop).

592


What is the relationship between clipping and repainting under awt?

630


What is a file pointer?

525


What is unicode used for?

585


How many bits is a string?

535


What is defined as false sharing in the context of multithreading?

518


How to perform selection sort in java?

592