Java General

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Lucian Țicoiu
Used 1+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java is called platform independent because of its byte codes which can run on any system irrespective of its underlying operating system.
True
False
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of these are wrapper classes?
Integer, Long, Byte, String
Integer, Long, Byte, Float
Double, Long, Byte, Float
Integer, String, Byte, Float
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What makes a HashSet different from a TreeSet?
It does not maintain elements in an ordered way.
It does not allow the null object.
It permits the null object.
The elements are maintained in a sorted order.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Set implementation allows duplicate values?
TreeSet
Sorted
LinkedHashSet
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A default constructor in Java is created automatically by the Java compiler when the programmer doesn't create any constructor in the entire program
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you call a constructor of a class inside another constructor?
No
Yes
Only if inherited
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between equals() and == in Java?
Equals() method is defined in Object class in Java and used for checking equality of two objects defined by business logic.
“==” or equality operator in Java is a binary operator provided by Java programming language and used to compare primitives and objects
There is no difference
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
LAT PTS NUMUS

Quiz
•
9th - 12th Grade
35 questions
Quiz PBGTM Kelas XI

Quiz
•
11th Grade
31 questions
JavaScriptjQuery-00-JS-Introduction[F]

Quiz
•
9th - 12th Grade
30 questions
USG_XI RPL 1_PBO_2024

Quiz
•
11th Grade
36 questions
JavaScript

Quiz
•
12th Grade
35 questions
JavaScript Control Flow and Loops.

Quiz
•
10th Grade - University
30 questions
DRAM Quiz

Quiz
•
12th Grade
30 questions
XI TKJ Ad Inf Jar

Quiz
•
11th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade