I was asked to draw the class diagram for the below
scenario which should obey OOPS concept. A Portal is to be
developed for a school , which has 3 main divisions viz ,
Education , Admin & Trust. Each division has 2 sub
divisions Kinder Garden & Higer Secondary.

Answer Posted / guest

I said , I will have a Base Class School , and 3 sub
classes for school , viz Admin Class, Eucation Class &
Trust Class. I will have an interface with 2 methods , viz
KinderGarden() and Hsc() and an implementation class for
these methods. The sub classes will extend School class and
implement this interface.

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

584


What is skeleton and stub?

571


What is the nested interface?

571


What is tcp and udp?

577


What do you mean by access modifier?

525






Does java set allow duplicates?

496


What is array in java?

505


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

494


what is mena by object block any what is the use of that

1745


How do you convert string to int in java?

533


What is the difference between int and integer in java?

483


What do you understand by overloading and overriding in java?

519


What is a finally block?

529


Which variables are stored in stack?

430


Can you achieve runtime polymorphism by data members?

562