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 / amna arslan

*SUPER CLASS ENTITY*
the class from which another class is derived is called super class.
it also called a base class.
the older one is called a super class.
super class is a simple class.
*SUB CLASS ENTITY*
the class which is derived from super class is called sub class.
it is also called a derived class.
the newer one is called a sub class.
sub class is a class that inheritance from super class.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is singleton class used?

1018


What is arraylist e?

1058


What is a class instance variable?

1095


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

945


Why is the singleton pattern considered to be an anti pattern?

873


What are the high-level thread states in java programming?

1039


How garbage collection is done in java?

1032


How many static init can you have?

1188


Is ++ operator is thread safe in java?

941


Which class cannot be a subclass in java?

1005


What is the difference between stringbuffer and stringbuilder class?

1082


How do you make an arraylist empty in java?

912


What is a native method in java programming?

1042


What is the use of volatile in java?

1038


How do you convert int to char in java?

1049