HOTSPOT
You need to evaluate the following Java program. Line numbers are included for reference only.

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code. NOTE: Each correct selection is worth one point.
Hot Area:

HOTSPOT
You are developing a Java program to play Tic-Tac-Toe. You define the following array to store the state of the board: Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code. NOTE: Each correct selection is worth one point.

Hot Area:

HOTSPOT
You are interviewing for a job as a Java developer. You need to demonstrate your understanding of switch statements.
For each of the following code segments, select Yes if the code segment can be changed to a switch statement with up to three case statements. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

HOTSPOT
You are writing a Java method named countdown. The method must meet the following requirements:
Accept an int parameter named start
Display all numbers from start to zero in decrements of one
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

HOTSPOT
You work on a team that develops e-commerce applications. A member of the team creates a class named DB that connects to a database. The class contains a method named query.
You need to initiate the DB class and invoke the query method.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

HOTSPOT
You are writing a Java class named SavingsAccount. The class must meet the following requirements:
Inherit from an existing class named Account
Include a constructor that uses the base class constructor to initialize the starting balance
Include a substitute toString() method How should you complete the code? To answer, select the appropriate code segments in the answer area. NOTE: Each correct selection is worth one point.
Hot Area:

HOTSPOT
You write the following Java program for Munson's Pickles and Preserves Farm. Line numbers are included for reference only.

You encounter error messages when you attempt to compile the program.
You need to ensure the program compiles successfully.
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

DRAG DROP
You need to evaluate the following Java program. Line numbers are included for reference only.

Which three values will be displayed in sequence? To answer, move the appropriate values from the list of values to the answer area and arrange them in the correct order. NOTE: Each correct selection is worth one point.
Select and Place:

You have the following code segment. Line numbers are included for reference only.

What is the output of line 07?
A. -44
B. -40.0
C. 40.0
D. 44.0
You need to analyze the following code segment. Line numbers are included for reference only.

What is the output of line 12 when you run printInt()?
A. 0
B. 1
C. 2
D. 3