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 data persistence in java?
What are the rules regarding quotation marks?
What is stateless class in java?
What are jpa annotations?
What can open a jar file?
Does netbeans need jdk?
When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?
What is meant by rest api in java?
What is dao in java?
What is a java executable jar file?
When a thread is created and started, what is its initial state?
How do I install java re?
What is javacpl?
Why sun introduce concept of anonymous class? What is need and real life use of anonymous class
Why are lambda functions called lambda?