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

What is java life cycle?

527


How do I type unicode?

523


What is an interface in java? Explain

566


What is the difference between conversation & casting?

564


What is wrapper class example?

529






List the different types of classloaders in java.

496


Why does my function print none?

511


What is the purpose of methodology?

631


What is difference overloading and overriding?

571


What is a subsequence of a string?

536


Is java good for beginners?

571


What is the final class modifier?

551


which class is the wait() method defined in? : Java thread

515


How is string stored in java?

552


java program with complete 4 oops concepts implemented example

2724