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 are the three types of design patterns?

1012


What is an object’s lock and which object’s have locks?

1014


How does multithreading take place on a computer with a single cpu?

1059


What is boolean query?

1039


What is a protected method?

1196


What is scope & storage allocation of static, local and register variables? Explain with an example.

1053


How to optimize the javac output?

1096


Difference between == and .equals() ?

1041


Are arrays dynamic in java?

1088


Explain the hierarchy of java exception classes?

1185


What is difference between equal and == in java?

1008


What happens when main () method is declared as private?

1191


How can a gui component handle its own events?

1152


What are the advantages of unicode?

1057


Can It is possible to synchronize the constructor of a Java Class?

1221