
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
POO_BasicoyJava
Quiz
•
University
20 questions
FREE TEST FULLSTACK PRAKTIKUM 2
Quiz
•
University
15 questions
BASIC C QUIZ
Quiz
•
University
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
15 questions
IT Quiz
Quiz
•
University
20 questions
L73_118 Prep for Test
Quiz
•
12th Grade - University
20 questions
Microsoft Excel 2013 Survey (Basic)
Quiz
•
9th Grade - University
19 questions
HTML
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade