
Java Programming Quiz

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Cherry Anne Tabaosares
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the correct way to declare a variable in Java?
int number;
num int;
integer number;
number int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create a class in Java?
object
class
Class
create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct file extension for Java source files?
.jav
.java
.class
.jar
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed by the following code? System.out.println(3 + 2);
3+2
5
32
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used for decimal numbers in Java?
int
float
char
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for single-line comments in Java?
//
/* */
#
--
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is the entry point of a Java program?
start()
run()
main()
program()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Atividade Avaliativa Robótica /Aula Projetos

Quiz
•
9th - 12th Grade
20 questions
WebDev - Konsep Dasar

Quiz
•
10th Grade
24 questions
Python Midterm Review

Quiz
•
9th - 12th Grade
20 questions
Quiz tentang Blok Scratch

Quiz
•
9th Grade - University
25 questions
Comp Sci Primitive Types

Quiz
•
9th - 12th Grade
16 questions
HTML Level 1

Quiz
•
8th Grade - University
20 questions
Latihan Soal Javascript

Quiz
•
10th Grade
25 questions
2-semestr 1-ON 2025

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade