Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How do you sort in descending order in java using collections sort?

850


Is jdk required on each machine to run a java program?

1217


What is string subsequence method?

1073


What is boolean flag in java?

1037


What is sizeof in java?

1053


What is the length of a string?

960


What is java console application?

947


Explain about the main() method in java?

1021


What are the properties of thread?

865


What is a parameter example?

927


What is class forname?

949


Write a code to create a trigger to call a stored procedure

910


What is the use of string and stringbuffer?

938


What is method reference?

922


What are desktop procedures?

1003