Composition is a
Java OOP

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

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
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 Quizizz
11 questions
Java String Objects & Methods

Flashcard
•
12th Grade
11 questions
Computer Programming

Flashcard
•
University
10 questions
Java Flashcard 1

Flashcard
•
University
15 questions
Java String and Array

Flashcard
•
Professional Development
6 questions
Flashcard on Types of AI

Flashcard
•
University
12 questions
Database

Flashcard
•
KG
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
7 questions
Java Data Types Practice

Flashcard
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade