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
How do I run a java program from the command line?
Explain working of java virtual machine (jvm)?
How can I protect myself? : java security
I get an exception if I remove the static modifier from main?
What's a code group? : java security
What is maven in java?
What is difference between map and flatmap in java 8?
What are the advantages of java 8’s date and time api over old date api and joda time api?
What is java lang?
What is log4j in java?
Is jdk a compiler?
What java systems libraries and methods are available for me to use?
What is the use of rs next () in java?
Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.
What is cookie in java?