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

Can a main method be overloaded?

1028


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

959


How do you make an arraylist empty in java?

935


What is a protected void?

939


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

11219


What is the difference between the boolean & operator and the && operator in java programming?

1052


Which list is sorted in java?

1040


What is a generic code?

1071


What is a singleton class in Java?

1072


How can an object be unreferenced?

1027


Is string a wrapper class?

1022


Can we extend singleton class?

957


How to split a string in java?

1139


what are the disadvantages of indexes in oracle?

2559


What are "class access modifiers" in Java?

1141