Content added Content deleted
|
|
Line 995: |
Line 995: |
|
System.out.println(patientDetails); |
|
System.out.println(patientDetails); |
|
} |
|
} |
|
|
|
|
⚫ |
private static record Patient(String patientID, String lastName) {}; |
|
⚫ |
private static record Visit(String visitID, String visitDate, Double score) {}; |
|
|
|
|
|
} |
|
} |
|
|
|
⚫ |
record Patient(String patientID, String lastName) {}; |
|
⚫ |
record Visit(String visitID, String visitDate, Double score) {}; |
|
|
|
|
|
|
} |
|
} |