
Quiz on Java
Authored by Sri Lallitha
Computers
University
Used 86+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a type of polymorphism in Java?
Compile time polymorphism
Execution time polymorphism
Multiple polymorphism
Multilevel polymorphism
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which component is used to compile, debug and execute java program?
JVM
JDK
JIT
JRE
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Syntax to compile java program from command prompt
java Filename.java
javac Filename
javac Filename.java
java Filename
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which component is responsible for converting bytecode into machine specific code?
JVM
JDK
JIT
JRE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a valid Java comment?
/** Comment 1 */
*/ Comment 2 /*
// Comment 3
/* Comment 4 */
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When saving a Java source file, save it with an extension of
.java.
.javac.
.src.
.class.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a rule that must be followed when naming identifiers?
After the first character, you may use the letters a-z, A-Z, an underscore, a dollar sign, or digits 0-9.
Identifiers can contain spaces.
Uppercase and lowercase characters are distinct.
The first character must be one of the letters a-z, A-Z, an underscore or a dollar sign.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
HTML quiz
Quiz
•
10th Grade - University
20 questions
CW VueJs
Quiz
•
University
20 questions
Compiler Review
Quiz
•
University
20 questions
Round-1 Technical Aptitude
Quiz
•
11th Grade - Professi...
20 questions
1ºDAM/DAW - Lenguajes de Marcas - UD2-3-9 - Prof. C. Boni
Quiz
•
University - Professi...
20 questions
OOP
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Наукова вікторина
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University