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 / vashisht rakesh

Yea you right.
is-a represent the inheritence
and
has-a represents the delegation/association
for example
Chair is a type of Furniture
and
Furniture has a relationship with chair

Is This Answer Correct ?    33 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a buffer in java?

975


Is sizeof a keyword in java programming?

1017


whatis Home interface and Remoteinterface? with example?

1948


Write java program to reverse string without using api?

983


Are floats faster than doubles?

987


Difference between throw and throws?

1049


What is the tradeoff between using an unordered array versus an ordered array?

1165


How does java enable high performance?

1091


How do you override a variable in java?

1046


Difference between current previous versions of Java?

977


How do I write a self declaration?

1018


Can there be an abstract method without an abstract class?

890


What is the declaration statement?

892


What is a local block?

1073


Where pragma is used?

993