Question: java made me so confused. need help Worth 1 point Checkpoint 8.35 Assume the following enumerated type has been declared: enum Direction {UP, DOWN, LEFT,


Worth 1 point Checkpoint 8.35 Assume the following enumerated type has been declared: enum Direction {UP, DOWN, LEFT, RIGHT}; Write a statement that defines heading as a variable of the Direction type enum Direction{UP, DOWN, LEFT, RIGHT); Subm X Incorrect. Try again. Worth 1 point Checkpoint 8.36 Consider the following code segment: enum Flavors (VANILLA, CHOCOLATE, STRAWBERRY), Flavors iceCream; Write an assignment statement that assigns the value VANILLA to the iceCream Variable Type your program submission here. Submit Worth 1 point Checkpoint 8.19 getCourseMode method shown below returns a copy of the current Course object's mode in one return statement. What is the return statment? public CourseMode getCourseMode() // Return a copy of the mode object. public courseMode getCourseMode () {return this: Submit * Incorrect. Try again. Checkpoint 8.38 Recall the CourseMode class we added to the Course UML diagram. The modes offered consist of three constants, so instead of using a string type, CourseMode might be better implemented as an enum type Declare an enum type named CourseMode with identifiers RESIDENTIAL, ONLINE, and HYBRID Type your program submission here. Submit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
