
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
Android Development Associate

Quiz
•
University
45 questions
IP MIDTERM

Quiz
•
University
36 questions
AP CS A unit 1

Quiz
•
11th Grade - University
37 questions
Разработка мобильных приложений

Quiz
•
University
40 questions
Java Programming

Quiz
•
University
39 questions
Java Midterm

Quiz
•
University
40 questions
Java Quiz

Quiz
•
University
45 questions
TECHNICAL QUIZ

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade