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 is the is a and has a relation ship in oops concept in
java?

Answer Posted / yogeshwar

is a
Relationship between a Class and its object.
Eg.
Class Car { ... }

Car maruti800=new Car();

here maruti800 is a car.
Relationship between Car and maruti800 ==> is a

the Person and Address is a suitable example for has a

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is package protected in java?

922


what is optional in java 8?

1012


Can a class have 2 constructors?

851


Why we override equals() method?

982


What are jee technologies?

964


What is variable and rules of variable?

969


What is __ init __ functions?

1040


When do we use hashset over treeset?

991


What does next mean in java?

926


What is a stringbuffer?

920


Why convert an applet to an application?

1045


Where are local variables stored?

918


Write a program to reverse a number in java?

1044


What are the methods used to implement for the key object in the hash map?

986


What about method local inner classes or local inner classes in java?

1007