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 gui in java with examples?
Why java?
How do I run a java program from the command line?
What is setstring method in java?
Where are group policies stored? : java security
How do you check if java is installed on windows command prompt?
Which version of my browser should I use? : java security
1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?
What are the new features about Java se 8 ?
Name primitive java types.
What is transient in java?
What is contextpath in java?
Is java an api?
What are tlds in java?
What is web xml java?