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 / rizwan

If you want to reuse the code of one class then your new
class shuld 'extend' the older one.so that you will have
all the code present of the older class oin the new one.

The older is called a parent/super class.
the newer one is called child/sub class.

Is This Answer Correct ?    35 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java in layman terms?

992


What is method overloading and method overriding?

1042


What is console based application in java?

1018


Why is java called java?

1031


What are different data structures in java?

1024


Where can I find jdk in my computer?

957


What do you mean by object?

953


How do you initialize an arraylist in java?

1022


Can an interface be defined inside a class?

1046


Which data type is class in java?

999


What is data object example?

990


Is intellij better than eclipse?

1067


What is basic syntax?

1024


How big is a 32 bit integer?

1027


What are peerless components in java programming?

993