Java OOP

Flashcard
•
Computers
•
Professional Development
•
Hard
Quizizz Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Composition is a
Back
has-a relationship
2.
FLASHCARD QUESTION
Front
What is not a Java primitive data type? Options: float, byte, Boolean, char
Back
Boolean
3.
FLASHCARD QUESTION
Front
Which is not a valid way to define an array? Options: int[3] i = new int[]; int[ ] i = {1,2,3}; int[ ] i = new int[ ]{1, 2, 3}; int[ ] i = new int[3];
Back
int[3] i = new int[];
4.
FLASHCARD QUESTION
Front
It keeps the data and the code safe from external interference.
Back
Encapsulation
5.
FLASHCARD QUESTION
Front
Which data type is not supported by ArrayList? Integer, String, double, Boolean
Back
double
6.
FLASHCARD QUESTION
Front
What is an instance of a class?
Back
Object
7.
FLASHCARD QUESTION
Front
Autoboxing converts primitive to corresponding object wrapper class
Back
true
8.
FLASHCARD QUESTION
Front
What is the default value of a primitive int data type?
Back
0
9.
FLASHCARD QUESTION
Front
Consider the given code. What would be the display on the screen? Options: Class A, Class B, Class C, Compile error
Back
Class C
Similar Resources on Wayground
6 questions
Java Class and Object Concepts

Flashcard
•
12th Grade
5 questions
Array berdimensi 1 dan 2, Struktur, dan Rekaman

Flashcard
•
University
8 questions
Methods

Flashcard
•
University
10 questions
Flashcard1-Intro-to-Java

Flashcard
•
University
6 questions
About UrbanMetry Data Team 2025

Flashcard
•
Professional Development
9 questions
School Sight Words!!

Flashcard
•
KG
9 questions
Java Methods

Flashcard
•
12th Grade
11 questions
Data Visualization using Tableau - Flashcard 1

Flashcard
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade