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

Advantages of Inheritance in java.

Answer Posted / jadhavpnilesh

I read all the answers and same I explained in my recent
interview. She asked me instead of inheriting the class i
will create object of class and call methods of that class
is it not reuse of code ? What she was expecting exactly,
can anyone help ?

Is This Answer Correct ?    16 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does printwriter create a file?

918


How do you sort a string in java?

910


What is unsigned char?

1018


Give a practical example of singleton class usage?

998


What is the symbol for average?

983


Can you access non static variable in static context?

993


What is a wrapper method?

1023


How do you decide when to use arraylist and linkedlist?

948


What is a string what operation can be performed out with the help of a string?

974


Give few difference between constructor and method?

922


What is method overriding in java ?

1130


What is array sorting in java?

1003


Explain the protected field modifier?

1032


Why do we need data structure in java?

1027


What's the base class in java from which all classes are derived?

1215