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

explain the concept of inheritance with an example?

Answer Posted / kk

Inheritance is the process of extending the properties of super class to sub class(methods and variables) if required overriding the properties(methods)
eg...
child having(extended) the Characters(Behavior) of father.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3601


Can we override static methods in java?

1011


Why does abstract class have constructor?

943


what is recursion in java

1073


What is a numeric string?

956


What are basic data types?

1031


If goto and const is reserve words than why it is not work in java?

1913


Explain when we should make an instance variable private.

1038


What package is math in java?

941


What is the difference between an if statement and a switch statement?

1098


What is meant by vector class, dictionary class, hash table class, and property class?

1081


What is an immutable class? How to create an immutable class?

997


Explain Basics of OOP Language in java

986


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2436


How do you declare an array in java?

981