The final exam used to consist of two separate parts, part 1…

The final exam used to consist of two separate parts, part 1 and part 2. Due to COVID and the use of Honorlock, part 1 and part 2 are merged into one exam. You have the same amount of exam time, a total of 120 minutes, but only one submission.  In the past, each part took most of the students an average of 60 minutes to complete.  Please use time wisely.

//(optional) import java.util.Scanner; public class JokeOnly…

//(optional) import java.util.Scanner; public class JokeOnlyProgrammersUnderstand {              public static void main(String [] args ) {                 Scanner scan = new Scanner(System.in);                 System.out.println(“What’s your idea of a perfect date?”);                  String yourAnswer = scan.nextLine();  

Part 2 of this exam requires three submissions. Submissions:…

Part 2 of this exam requires three submissions. Submissions: The class diagram (15 points) The class program in Java (26 points) The application program in Java (19 points) Instructions: To complete submission 1, You MUST create a table using the Canvas Editor (space below)  How to create a table using Canvas Editor (space below): Move your mouse over the icon that looks like a table. When you hover your mouse on top, it will show “Table”. Click on the icon. Move the mouse up or down to hover over the “Table”, then move towards the right, you should be able to draw a table of the desired number of rows and columns (cells will be highlighted in blue). Use the table for the diagram. To complete submission 2 and 3, you will be asked to write two Java programs. You may use the Canvas Editor (space below) to type your Java programs.  Besides following Java Syntax rules, be sure to use indentation to make your programs readable. Apply the best programming style.