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
What is the use of java?
What is a null class?
How to obtain a performance profile of java program
why not override thread to make a runnable? : Java thread
Why can't you declare a class as protected?
What is a null check?
What is meant by collection in java?
define polymorphism in java
What programs use java?
Explain java coding standards for classes or java coding conventions for classes?
What is comparator in java?
What does this () mean in constructor chaining concept?
What is an example of character?
What do you mean by ternary operator in java?
Explain about the security aspect of java?