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
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
What is skeleton and stub?
What is the nested interface?
What is tcp and udp?
What do you mean by access modifier?
Does java set allow duplicates?
What is array in java?
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
what is mena by object block any what is the use of that
How do you convert string to int in java?
What is the difference between int and integer in java?
What do you understand by overloading and overriding in java?
What is a finally block?
Which variables are stored in stack?
Can you achieve runtime polymorphism by data members?