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

what are the oops concept in java explain with real time
examples

Answer Posted / madhu

Inheritance defining a new class by using the member of existing class..e.g main class vehicle
sub classes can extend vehicle like car,bike,auto cos car, bike ,auto are belongs to vehicle so they can extend using vehicle..

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between execute, execute Query, execute Update?

886


What is use of valueof () in java?

1105


How to change the priority of thread or how to set the priority of thread?

1091


What is append function?

1056


What do you mean by ordered and sorted in collections in java?

1039


Which method returns the length of a string?

1095


What is string substring?

1204


Differences between C and Java?

1286


What are the classes of java?

1018


How does thread synchronization occurs inside a monitor?

1181


Can we have multiple classes in single file ?

1113


what are different ways in which a thread can enter the waiting state? : Java thread

1011


How do you reverse a string in java without using string buffer?

1149


What do bitwise operators do?

1051


Can I override protected method in java?

1130