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 are the java ide’s?

561


Can we sort array in java?

517


Is 64bit faster than 32 bit?

566


How do you convert an int to a double in java?

586


What is boolean strategy?

614






take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1522


What is difference between stringbuffer and string?

480


what is the messsage u r going to get from an objectoriented programing?

1596


java Technical questions asked by JPMC

4561


Can we restart a dead thread in java?

540


What string is utf8?

533


How do you get the length of a string in java?

512


Can we make constructors static?

709


What about abstract classes in java?

599


When do we use hashset over treeset?

519