Java General
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Lucian Țicoiu
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
30 questions
Komputer dan Jaringan Dasar
Quiz
•
10th Grade
30 questions
Chapter 1 - Data Representation (IGCSE Computer Science)
Quiz
•
9th - 10th Grade
35 questions
SKT5 : Bab 3 : c) Standard Library, Subaturcara, Tatasusunan
Quiz
•
10th - 12th Grade
30 questions
ADMINISTRASI JARINGAN
Quiz
•
12th Grade
30 questions
Empowerment Technology
Quiz
•
11th Grade
30 questions
Computer System Servicing
Quiz
•
11th Grade
35 questions
PH Bab 4 Sistem Komputer dan Pengalamatan Memori
Quiz
•
11th Grade
30 questions
Year 10 - Topic 2: Knowledge So Far
Quiz
•
11th Grade
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
