Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Java Quiz
0
%
0
0
0
Back
Restart
What is the alternative expression of m += n?
m = m + n
Oops!
Okay!
It is used to define a block of code to be tested for errors while it is being executed.
try
Oops!
Okay!
True of False: An array has a fixed length.
True
Oops!
Okay!
What is the expected output of the following expression? 19 % (2 + 3)
4
Oops!
Okay!
It is an access modifier used for variables, methods,and inner classes. It is accessible only within the same class.
private
Oops!
Okay!
What is the output of the following code segment?
21
Oops!
Okay!
What is the output for the above code segment?
10
Oops!
Okay!
It refers to an expression or variable that can have only a true or false value.
boolean
Oops!
Okay!
What value is stored in each of the 5 elements in the following array?
0
Oops!
Okay!
This type of loop has no way of ending and repeats until the program is interrupted.
infinite loop
Oops!
Okay!
Java feature, which transmit the characteristic from parent class to the child class
Inheritance
Oops!
Okay!
A sequence of statements that has a name, may have formal parameters, and may return a value
method
Oops!
Okay!
The keyword "method" is another name for ...
function
Oops!
Okay!
A sequence of four bits.
nibble
Oops!
Okay!
A sequence of eight bits.
byte
Oops!
Okay!
It is used at method declaration and definition to specify that the method does not return any type.
void
Oops!
Okay!
It allows you to define a block of code to be executed if an error occurs in the try block.
catch
Oops!
Okay!
a sequence of characters
String
Oops!
Okay!
It repeatedly executes a target statement as long as a given condition is true.
while
Oops!
Okay!
It is an access modifier used for classes, attributes, methods and constructors, making them accessible by any other class.
public
Oops!
Okay!
What is the term that refers to a collection of related elements used to store the same type of data called?
Array
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies