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...

Difference between Superclass and Subclass?

Answer Posted / rohit kumar singh

In many of the cases an entity type has numerous sub grouping of its entities that are meaningfull . Let understand with an example . EMPLOYEE entity type may be grouped further into ... SECRETARY , MANAGER , ENGINEERand so on .
The set of entities in each of latter grouping is a subset of the entities that belongto the EMPLOYEE entity set .
We call each of these subgrouping a subclass of the EMPLOYEE entity type , and the EMPLOYEE entity type is the superclass gor each of these subclasses.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

999


Do I need java on my computer?

922


How many types of assembly languages are there?

921


How many types of methods are there?

972


How many types of design patterns are there?

1043


Who is the owner of java?

951


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

2193


How to use arraylist in java netbeans?

975


When object is created and destroyed?

1038


How many tetrahedral voids are there in bcc?

1013


Write code to implement bubble sort in java?

944


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

1076


What does three dots mean in java?

1059


What is pojo class in java?

999


How many inner classes can a class have?

993