Question: DRAW A UML CLASS DIAGRAM FOR THE CODE BELOW #NEED THIS ASAP WILL RATE HIGHLY import java.util.Scanner; public class Main { public static void main(String[]

DRAW A UML CLASS DIAGRAM FOR THE CODE BELOW #NEED THIS ASAP WILL RATE HIGHLY import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); while (true) { process AP = new process(); Admin A = new Admin(); System.out.println(""); System.out.println("Welcome to Thai Festival Booth System"); System.out.println("[1] Admin"); System.out.println("[2] User"); System.out.println("[3] Quit Program"); System.out.print("Select a Number : "); int x = input.nextInt(); if (x == 3) { System.out.println(); System.out.print("Thank you for using this System."); System.out.println(); break; }else if (x == 1) { A.insert(); } else if (x == 2) { System.out.println(""); System.out.println(" Booth Diagram "); System.out.println("[LOT 1 ] [LOT 2 ] [LOT 3 ] [LOT 4 ] [LOT 5 ]"); System.out.println(""); System.out.println("[LOT 6 ] [LOT 7 ] [LOT 8 ] [LOT 9 ] [LOT 10]"); System.out.println(""); System.out.println("[LOT 11] [LOT 12] [LOT 13] [LOT 14] [LOT 15]"); System.out.println(""); System.out.println("[LOT 16] [LOT 17] [LOT 18] [LOT 19] [LOT 20]"); System.out.println(""); System.out.println("[LOT 21] [LOT 22] [LOT 23] [LOT 24] [LOT 25]"); System.out.println(""); AP.getUserById(input); } else { System.out.println(" please enter a vaild number "); } } } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!