(String[] args)
| 2 | |
| 3 | public class Main { |
| 4 | public static void main(String[] args) { |
| 5 | Patient p1 = new Patient(1, "Krishna", 21, "Male"); |
| 6 | |
| 7 | try { |
| 8 | PatientDAO dao = new PatientDAO(); |
| 9 | dao.addPatient(p1); |
| 10 | System.out.println("Patient added successfully."); |
| 11 | } catch (Exception e) { |
| 12 | System.out.println("Error: " + e.getMessage()); |
| 13 | } |
| 14 | } |
| 15 | } |
nothing calls this directly
no test coverage detected