samedi 17 septembre 2016

Design a Patient Demographic class in a Hospital

I have recently come accross a problem related to java dessign pattern. I have to use OOPs concept here. I can't figure out how the approach will be. Can anyone solve it?

Design a class to store the information of the patients visiting to the hospital., i.e. a class which stores name, address, phone number, male/female, prefix to the name. Also, how will you handle job in case of multiple phone numbers/addresses, multiple locations (If a person is both at 12 PM in USA on a date, then that date is different from date in India), how will you handle the validations of these fields when the user enters the values.

Aucun commentaire:

Enregistrer un commentaire