Java Basics MCQ Quiz Form
Please complete all questions in the Java Basics MCQ Quiz Form. Enter your details and select the best answer for each question.
Full Name
*
First Name
Last Name
Email Address
*
example@example.com
Which keyword is used to define a class in Java?
*
class
struct
define
object
What is the default value of an int variable in Java?
*
0
null
undefined
1
Which method is the entry point of a Java application?
*
main
start
run
init
Which symbol is used to end a statement in Java?
*
;
:
.
,
Which of the following is NOT a primitive data type in Java?
*
String
int
double
boolean
What does JVM stand for?
*
Java Virtual Machine
Java Variable Method
Joint Virtual Module
Java Visual Module
Which operator is used for comparison in Java?
*
==
=
<>
!
Which access modifier makes a member visible only within its own class?
*
private
public
protected
default
Which of the following is used to create an object in Java?
*
new
create
object
instance
Submit Quiz
Should be Empty: