top of page

Java Assignment

Public·2 members

Create software that manages patients for a clinic In Java



Java Technology: Java Swing, JFrame, Netbeans IDE



Description


You are asked you to create software that manages patients for a clinic.


There are 5 classes in this project :

1. Doctor : defines a doctor


Each doctor has the following attributes :

  • id : int

  • name : String

  • speciality : String


Methods :

  • Constructor

  • Getters and setters


2. Patient : defines a patient

Each patient has attributes :

  • id : int

  • name : String,

  • gender : char (‘M’ or ‘F’)

  • following_doctor : String (the doctor name)


Methods :

  • Constructor

  • Getters and setters


3. ListOfPatients consists of a list of patients

Attribute :

ArrayList<Patient> allPatients ;


Methods :

void addPatient(Patient p) ;

int getNbOfPatients() ;


ArrayList<Patient> getAllPatientsByName(String name) ;


4. MainWindow : the main GUI interface







Keeping us on top of that foundation, we are creating and providing the best solutions and almost every type of coding solutions to help students.

Contact us for this java assignment Solutions by Codersarts Specialist who can help you mentor and guide for such java assignment, homework, project and coursework

If you have project or assignment files, You can send at contact@codersarts.com directly
172 Views
bottom of page