
Java Quiz 1

Quiz
•
Computers
•
University
•
Hard
Smriti Sehgal
Used 8+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
36 questions
C Arrays

Quiz
•
University
40 questions
Find the Output- Conditional statements and Loop Structure

Quiz
•
University
40 questions
Java Quiz

Quiz
•
University
40 questions
Internet and Java MCQs

Quiz
•
University
40 questions
quiz based on web design

Quiz
•
University
37 questions
IM1_Integrative Programming_LQ2

Quiz
•
University
38 questions
IT Basic Assesment

Quiz
•
7th Grade - Professio...
40 questions
Kuis-PBO15

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University