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

Explain the concept of hashtables?

1146


How to sort an array from smallest to largest java?

995


What about anonymous inner classes in java?

1044


What state does a thread enter when it terminates its processing in java programming?

1051


Is java owned by oracle?

1025


How concurrent hashmap works?

1188


Can you sort a string in java?

918


What is the purpose of void class?

1064


How to declare an arraylist in java?

1123


How do you check if a character in a string is a digit or letter?

1082


What are passing parameters?

1100


Explain the use of volatile field modifier?

1083


Why hashset is used in java?

1084


What exactly is a .class file?

1056


Do I need java for windows 10?

1050