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

Describe inheritance as applied to java?

Answer Posted / rajesh

Inheritance is the powerful mechanisam for resuabiltiy.
We can derive a class from whereever and whenever.
The resuabiltiy avoids to rewrite code and code length.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you access the private method from outside the class?

946


What is string data type?

955


What is static variable with example?

990


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1071


How do you clear an arraylist in java?

965


What is overriding in java?

1049


Can we have a method name same as class name in java?

1039


How do you generate random numbers in java?

991


If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1160


What is charat java?

939


Can we execute a program without main?

1000


How is string stored in java?

1046


What is the declaration statement?

923


What is listnode in java?

972


What are functions in java?

927