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
Explain about anonymous inner classes in java?
Which is a valid identifier?
How will you initialize an Applet?
How would you format a date in java? I.e. In the ddmmyyy format?
What is a loop java?
What is the use of parseint in java?
What is an immutable object? How do you create one in java?
What is the use of System class?
What is the difference between a method and a procedure?
How hashmap increases its size in java?
What does java stand for?
What is the exception hierarchy in java?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
What do you mean by platform independence? What is an interface?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent