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

Is finalize() similar to a destructor?

977


What is difference between class and object in java?

1018


What’s the difference between constructors and other methods?

933


What do you understand by the term singleton?

941


Variables used in a switch statement can be used with which datatypes?

934


What is collection class in java?

930


What happens when a thread cannot acquire a lock on an object in java programming?

950


Does java support Operator Overloading?

988


Is 0 a real number?

971


Explain the term virtual machine?

983


What are the basic concepts of OOPS in java?

971


List the interfaces which extends collection interface?

891


Can list be final in java?

870


what do you mean by marker interface in java?

925


Does treeset use compareto?

910