No Negative marking
Attempt questions as many you can
Runtime error
No errors
Rate this question:
Compilation error: Divisions must be in a try block.
Runtime Exception
Rate this question:
Compilation error: DivideByZeroException
Runtime Exception
Rate this question:
True
False
Rate this question:
Compilation error
Runtime Error
Rate this question:
Compile error
No error
Rate this question:
Runtime Exception
No errors
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
A methods in object
An operator and keyword
Rate this question:
True
False
Rate this question:
Yes
No
Rate this question:
Yes, always
No, not when A is abstract
Rate this question:
True
FALSE
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
By marking it volatile
By marking it transient
Rate this question:
 A type of coffee
AN OBJECT-ORIENTED PROGRAMMING LANGUAGE
Rate this question:
A JAVA PROGRAM THAT IS RUN THROUGH A WEB BROWSER
 A type of coffee
Rate this question:
 Windows
All of the Above
 Unix/Linux
Rate this question:
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.
Rate this question:
Applets can paint words, applications cannot.
 Applets are run over the web.
Rate this question:
 To add numbers together
 To keep track of data in the memory of the computer
Rate this question:
VariableName variableType;
VariableType variableName;
Rate this question:
 True or False
 Single characters
Rate this question:
 5
6
Rate this question:
Assigning a name to a variable
Assigning a value to a variable
Rate this question:
1
12
Rate this question:
&&
!!
Rate this question:
 if ((x < 3) || (y > = 4))
 if ((x > 3) || (y < = 4))
Rate this question:
 A new type of Applet
 A segment of code to be run a specified amount of times
Rate this question:
That there is a Boolean statement somewhere in your code
That your Boolean statement will at some point be false
Rate this question:
 Test statement
 The word "while"
Rate this question:
 Loop Body
 Initialization
Rate this question:
 A group of code lines that performs a specific task
 Something that contains an ‘init’
Rate this question:
 Abstract window Toolkit
 Adjust Window Toolkit
Rate this question:
A. Exception handling enables programmers to write robust and fault-tolerant programs.
B. Exception handling can catch but not resolve exceptions.
C. Exception handling can resolve exceptions.
D. All of the above are true.
Rate this question:
A. increases a program’s performance, because the program does not need to perform tests to determine whether a task executed correctly and the next task can be performed.
B. should be used in place of exception handling where possible.
C. can degrade a program’s performance, because the program must perform (potentially frequent) tests to determine whether a task executed correctly and the next task can be performed.
D. None of the above.
Rate this question:
A. A descriptive message for the exception.
B. The method-call stack at the time the exception occurred.
C. The name of the exception.
D. Instructions on handling the exception.
Rate this question:
A. It specifies the point at which the exception must be handled.
B. It is the initial point at which the exception occurs.
C. It is specified as the top row of the method-call stack at the time the exception occurred.
D. All of the above statements are true.
Rate this question:
Public double methoda();
Public final double methoda();
Static void methoda(double d1)
All
Rate this question:
Int javaArray = new int[10];
Int avaArray new = myArray[ ];
Int[] javaArray = new int[10];
None
Rate this question:
Inherit
Extends
Inheritance
Extend
Rate this question:
Abstract class
Public class
Final class
None of above
Rate this question:
Yes
No
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
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.