
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
40 questions
Brain Blitz (Round 2)

Quiz
•
University
41 questions
Reflection: SwiftUI

Quiz
•
University
40 questions
Git & GitHub Quiz

Quiz
•
University
35 questions
CS2110 Spring 24 Final Exam Prep

Quiz
•
University
35 questions
Web Designing Quiz

Quiz
•
University
45 questions
QUIZ

Quiz
•
University
40 questions
ASAS INFORMATIKA 8

Quiz
•
8th Grade - University
35 questions
CodeChef (Secret Snippet)

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University