
Java Multiple Choice Quiz

Quiz
•
Professional Development
•
University
•
Medium
SWAPNIL PAWAR
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Java interpreter is used for the execution of the source code.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
On successful compilation a file with the class extension is created.
False
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Java source code can be created in a Notepad editor.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Java Program is enclosed in a class definition.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What output is displayed as the result of executing the following statement? System.out.println("// Looks like a comment.");
No output is displayed
Looks like a comment
The statement results in a compilation error
// Looks like a comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Strings are instances of the class String.
False
True
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a string literal is used in the program, Java automatically creates instances of the string class.
False
True
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Programming - Introduction

Quiz
•
University
20 questions
Teste Java 1

Quiz
•
University
20 questions
Programming Knowledge Quiz (Easy)

Quiz
•
5th Grade - Professio...
17 questions
HTML QUIZ

Quiz
•
5th Grade - Professio...
10 questions
Teaching skills

Quiz
•
University
20 questions
ROUND 1

Quiz
•
University
17 questions
Cryptography

Quiz
•
University
14 questions
Best Practices of Student Engagement by Kami

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade