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

Explain about Superclass and Subclass?

Answer Posted / ravikiran(aptech mumbai)

super class is the one which will declare members and
methods and will allow all the subclasses to make use of them.

sub class is the class which inherits the mebes and methods
from the super class and declares it's own members as well.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use nextline in java?

952


'A class is a template for an object' explain this statement.

1051


Write a program to print the pattern given below

929


What do you know about java?

938


What is multithreading and its advantages?

1067


What is integer parseint?

987


Define "Access specifiers" in java.

1162


What is the default value of byte datatype in java?

933


Can anonymous class have constructor?

1017


What is hashing in java?

1032


Can you tell me range of byte?

990


Difference between process and thread?

1027


What is bean? Where it can be used?

1081


What is vector?

1052


What does it mean that a class or member is final?

990