Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is jdk for netbeans ide?

1104


What is stateless in java?

1051


Is eclipse a jdk?

951


What is the use of rs next () in java?

946


What is difference between map and flatmap in java 8?

921


What is ibatis in java?

1036


can anyone tell me what kind of questions are asked for core java exam in aptech

1917


Why are lambda functions called lambda?

998


How do I download and install eclipse on windows 10?

869


What is dto in java?

963


Explain daemon thread.

1025


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

2259


What is numberformatexception in java?

932


What is a static method?

1073


What is a java singleton?

1046