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
29 questions
JavaScript

Quiz
•
9th - 12th Grade
37 questions
AQA Computer Science GCSE - 3.3 Data representation

Quiz
•
10th - 12th Grade
34 questions
Computer Science I Midterm Review (AKHS)

Quiz
•
9th - 12th Grade
30 questions
PBO kelas XI

Quiz
•
11th Grade
33 questions
Computer Systems 9

Quiz
•
9th - 10th Grade
30 questions
kelompok1 pwpb kelas 12 smk 6 kendari

Quiz
•
9th - 12th Grade
30 questions
Computer Basic

Quiz
•
11th Grade
30 questions
Computer Skills Test

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th 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
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade