
Java Quiz 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Smriti Sehgal
Used 8+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The command javac is used to
Execute a Java program
Compile a Java program
Debug a Java program
Interpret a Java program
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
……………. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program.
Compiled instruction
Compiled code
Byte code
Java mid code
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not the Java primitive type
Byte
Float
Character
Long double
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true about Java.
Java does not support overloading.
Java has replaced the destructor function of C++
There are no header files in Java.
All of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
All Java classes are derived from
java.lang.Class
java.util.Name
java.lang.Object
java.awt.Window
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What would happen if “String[]args” is not included as an argument in the main method?
No error
Compilation error
The program won’t run
Program exit
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The compiled Java program can run on any ………………… platform having Java Virtual Machine (JVM) installed on it.
Program
Hardware
Java
Non java
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
35 questions
IT 115 Module Quiz
Quiz
•
University
40 questions
Class Test 1 - CSE 443 (Mobile Telecommunication)
Quiz
•
University
45 questions
Operating Systems I
Quiz
•
10th Grade - University
45 questions
Computer Hardware and Software Review
Quiz
•
KG - University
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
45 questions
CS8591-Computer Networks
Quiz
•
University
45 questions
Microsoft Excels: Formulas and Functions
Quiz
•
12th Grade - University
40 questions
Introduction to Web Systems Exam
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
