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 data structures are used to perform recursion?

1060


Can we use this () and super () in a method?

980


What is difference between word and integer?

1085


Why Java is not pure Object Oriented language?

1115


Does set allows null in java?

967


What are predicates in java 8?

1024


What is the arraylist in java?

1060


How do listeners work?

1055


What is a marker interface?

1171


Do loops java?

1027


Is there a sort function in java?

972


What is local declaration?

977


What is the concatenation operator in java?

1163


List some important characteristics on jre

1077


Can a class be final?

946