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

Which collection is sorted in java?

1081


Difference between stack and queue?

1139


How to provide security in java

2326


Can we use return in constructor?

1001


Why can we not override static method?

1148


What is bool mean?

1141


Explain the differences between static and dynamic variables?

1197


What are the steps involved to write rmi based programs?

1070


What are the features of java?

1145


What are the three parts of a lambda expression?

1061


How does a cookie work in Servlets?

898


What is the difference between call by reference and call by pointer?

1014


What happens if main method is not static?

1048


what methods would you overwrite in java.lang.object class?

1062


What is the purpose of a volatile variable?

1103