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
What is a yaml file in java?
Is jar an executable?
What is the difference between ec2 and lambda?
Which class is the superclass of every class?
Are the actual permissions for the application defined at run-time or compile-time? : java security
What is a jvm?
What's the difference between code-based security and role-based security? Which one is better? : java security
What are the benefits of a jar file?
Do I need both jdk and jre?
How do I export a java project?
What is the difference between a jvm and a jdk?
What is mime in java?
What is maven in java?
What is hql in java?
What is lazy loading in jpa?