
Java Programming Quiz

Quiz
•
Other
•
Professional Development
•
Medium

Niveditha N
Used 5+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which component executes Java code?
JDK
JVM
JRE
Java Source File
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The ++ operator does what?
Multiply by 2
Increment by 1
String concatenate
Divide by 2
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the default value of an uninitialized boolean class member?
true
false
null
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which keyword is used to create an object instance?
create
init
new
object
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you import the Scanner class?
import java.io.Scanner;
include java.util.Scanner;
import java.util.Scanner;
using java.util.Scanner;
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of these is not a primitive type?
int
String
char
double
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
A block in Java always starts and ends with what?
[]
()
{}
<>
8.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which comment style is used for documentation generation?
// …
/* … */
/** … */
Similar Resources on Wayground
11 questions
MINECRAFT

Quiz
•
Professional Development
10 questions
Basic Computer Troubleshooting

Quiz
•
Professional Development
10 questions
Python Quiz

Quiz
•
Professional Development
5 questions
KM | W11D3

Quiz
•
Professional Development
8 questions
Introducción a Blender by Axel Caballero

Quiz
•
Professional Development
5 questions
TPAV Video Voice Over

Quiz
•
Professional Development
7 questions
Perguntas Frequentes - Java

Quiz
•
Professional Development
10 questions
Java Script Basics

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade