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 / adarsh

I think the best way to do this would be to have an interface for school,Kinder Garden and Higher secondary .Make School as the super class and kinder garden and secondary as an interface which extends the school interface.Then we can have three classes Education,Admin and Trust and make this classes implement both kinder garden and Secondary interfaces

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will be the default values of all the elements of an array defined as an instance variable?

1015


Tell me about your ability to work under pressure

2181


Is it necessary that each try block must be followed by a catch block?

1005


What does string intern() method do?

1070


What is final modifier?

1036


What happens if we don’t define serial version uid?

1018


Which is the best approach for creating thread ?

1187


What is thread life cycle?

945


What is the significance of listiterator?

1079


What is a method vs function?

1021


What is a classloader in java?

1002


How many boolean functions are there?

945


What is a method type?

986


What do you mean by scope of variable?

879


Can you give few examples of final classes defined in java api?

994