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 the difference between the font and fontmetrics classes in java programming?

1253


What is the function of java?

1054


when to use ArrayList and when to use HashMap in webApplication.

4783


What is exception in java?

1159


What are scalar data types?

1126


Outline the major features of java.

1127


Can we modify the throws clause of the superclass method while overriding it in the subclass?

1076


What is mean by collections in java?

1253


What is classpath?

1064


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

2532


What is meant by stack and queue?

1124


How to sort elements in a parallel array in java?

950


Can the garbage collection be forced by any means?

1044


What is a wrapper method?

1171


How many bytes is a char in java?

1058