Given the code fragment:
Which two modifications, when made independently, enable the code to print Joe:true: 100.0? (Choose two.)
Given the definitions of the MyString class and the Test class:
What is the result?
Given the code fragment:
Which code fragment, when inserted at line 9, enables the code to print true?
Given the code snippet from a compiled Java source file:
and this output:
Which command should you run to obtain this output?
Given the code fragment:
Which two code fragments can be independently inserted at line n1 to enable the code to print the elements of the array in reverse order? (Choose two.)
Given the code fragment:
Assume that the system date is June 20, 2014. What is the result?
Given the following classes:
Which two options fail to compile when placed at line n1 of the main method? (Choose two.)
Given the definitions of the Bird class and the Peacock class:
and the code fragment:
Which code snippet can be inserted to print Fly.Dance. ?
Given the code fragment:
You want the code to print:
Sold: 5 items. Stock in Hand: 5 Purchased: 5 items. Stock in Hand: 10?
Which action enables the code to print this?
Given the code fragment:
Which two code fragments inserted at line 10 print ****?
Given the code fragment:
Which two modifications should you make so that the code compiles successfully? (Choose two.)
This grid shows the state of a 2D array:
The grid is created with this code:
Which line of code, when inserted in place of //line n1, adds an X into the grid so that the grid contains three consecutive Xs?
Given this array:
Which two code fragments, independently, print each element in this array? (Choose two.)
Given the following code for the classes MyException and Test:
What is the result?
Given the code fragment:
Which three code fragments can be independently inserted at line n1 to enable the code to print One? (Choose three.)
Examine the given definitions:
and the code fragment:
Which statement is true about the implementation of Object-Oriented Programming concepts in the given code?
Which three statements describe the object-oriented features of the Java language? (Choose three.)
Given the code fragment:
and the requirements of the application:
Which code fragment can be used to meet the requirements?
Given the code fragment:
Which option represents the state of the num array after successful completion of the outer loop?