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
How do you sort in descending order in java using collections sort?
Is jdk required on each machine to run a java program?
What is string subsequence method?
What is boolean flag in java?
What is sizeof in java?
What is the length of a string?
What is java console application?
Explain about the main() method in java?
What are the properties of thread?
What is a parameter example?
What is class forname?
Write a code to create a trigger to call a stored procedure
What is the use of string and stringbuffer?
What is method reference?
What are desktop procedures?