Employee has a Passport. here employee is an object and
passport is an object, give the class design
Answer Posted / swati
Its a bidirectional association where is you can find
employee using passport AND find a passport using employee
Class Employee{
Name -
Address
Passport
}
Class Passport{
Name
Address
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance
How do I run a java program from the command line?
What is a container in java?
What does persist mean in java?
What is lambda expressions action func and predicate?
What is cookie in java?
What is a flatmap?
Is lambda cheaper than ec2?
What is meant by code profiling?
can anyone tell me what kind of questions are asked for core java exam in aptech
What is an entity in java?
What is java lang noclassdeffounderror?
Is java singleton thread safe?
Is java an api?
What is connection pooling in java?