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

How do I run a java program from the command line?

900


Explain working of java virtual machine (jvm)?

950


How can I protect myself? : java security

924


I get an exception if I remove the static modifier from main?

964


What's a code group? : java security

891


What is maven in java?

822


What is difference between map and flatmap in java 8?

806


What are the advantages of java 8’s date and time api over old date api and joda time api?

1000


What is java lang?

825


What is log4j in java?

839


Is jdk a compiler?

788


What java systems libraries and methods are available for me to use?

790


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

853


Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

1826


What is cookie in java?

817