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

What is the string function?

948


Is empty string in java?

1163


How do you define a parameter?

1027


How does the java compiler work?

964


Explain the meaning of java applet.

1063


What is use of super keyword in java?

1011


Why synchronization is important in java?

1038


What does null mean in java?

1056


What are anonymous inner classes?

1008


Can constructor be static or final?

1083


What is math exp in java?

1038


What is an image buffer?

982


What is isa relationship?

1037


What is the difference between private & public & friendly classes?

1062


What do you mean by garbage collection used in java?

1058