Test your Java Skills.
4 bits
7 bits
8 bits
16 bits
Static
Private
Compilation error
Runtime error
Runtime error
No errors
Compilation error: Divisions must be in a try block.
Runtime Exception
Compilation error: DivideByZeroException
Runtime Exception
True
False
Compilation error
Runtime Error
Compile error
No error
Runtime Exception
No errors
True
False
True
False
True
False
A methods in object
An operator and keyword
True
False
Yes
No
Yes, always
No, not when A is abstract
True
FALSE
True
False
True
False
True
False
True
False
By marking it volatile
By marking it transient
A type of coffee
AN OBJECT-ORIENTED PROGRAMMING LANGUAGE
A JAVA PROGRAM THAT IS RUN THROUGH A WEB BROWSER
A type of coffee
Windows
All of the Above
Unix/Linux
In Java, to create an applet, you can't call on functions without defining a class to call them.
The drawString function is not defined without the "import" statements at the top.
All of the above.
Applets can paint words, applications cannot.
Applets are run over the web.
To add numbers together
To keep track of data in the memory of the computer
VariableName variableType;
VariableType variableName;
True or False
Single characters
5
6
Assigning a name to a variable
Assigning a value to a variable
1
12
&&
!!
if ((x < 3) || (y > = 4))
if ((x > 3) || (y < = 4))
A new type of Applet
A segment of code to be run a specified amount of times
That there is a Boolean statement somewhere in your code
That your Boolean statement will at some point be false
Test statement
The word "while"
Loop Body
Initialization
A group of code lines that performs a specific task
Something that contains an ‘init’
Abstract window Toolkit
Adjust Window Toolkit
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.