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
How to check if linked list contains loop in java?
What is api data?
What about method local inner classes or local inner classes in java?
What is data movement?
What is variable declaration and definition?
What is predicate in java?
What is the abstraction?
What is java command?
How do you use find and replace?
What is consumer in java?
hr interview how many minutes asking question
What is unsigned char?
What is the difference between an object-oriented programming language and object-based programming language?
What does replaceall do in java?
Is a method a procedure?