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 / kush singh

Inheritance is a process of inheriting members and member functions of a particular class. This means one class can use the data members and functions of another similar class. This reduces efforts as similar data members or functions do not need to be declared again and again.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention a package that is used for linked list class in java.

955


What is intern method in java?

1070


What is <> used for in java?

1106


What is null mean in java?

1076


Why do we need variables?

976


What is module in project?

956


Where can I find jdk in my computer?

964


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

955


What is the use of static methods?

1031


How does hashset work in java?

1107


What is lazy programming?

1031


What is the use of coding?

961


Difference between static binding and dynamic binding?

1100


Can we restart a dead thread in java?

979


How do you remove duplicates from an array in java?

945