-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
17 lines (14 loc) · 746 Bytes
/
Copy pathTest.java
File metadata and controls
17 lines (14 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class Test {
public static void main(String[] args) {
// Example of creating and using a Vehicle
Vehicle vehicle = new Vehicle("ABC123", true); // corrected to include both parameters
System.out.println("Vehicle License Plate: " + vehicle.getLicensePlate());
// Example of creating a User
User user = new User("userID123", "John Doe");
System.out.println("User Role: " + user.getRole());
// Example of managing a parking spot
ParkingSpot spot = new ParkingSpot("spotID1", "near entrance", false, "general");
System.out.println("Parking Spot Type: " + spot.getType());
// Assume more complex interactions and integrations here
}
}