Java OOP
Flashcard
•
Computers
•
Professional Development
•
Hard
Wayground 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
10 questions
Evolve 2 Unit - 2 Flashcard - 2
Flashcard
•
University
8 questions
Étude du Matériel d'Entretien
Flashcard
•
KG
9 questions
LES ECRITS PROFESSIONNELS SA
Flashcard
•
Professional Development
10 questions
Subject and Object Questions
Flashcard
•
KG - University
10 questions
9 клас. Алгебра. Арифметична прогресія
Flashcard
•
KG - University
10 questions
Gamification
Flashcard
•
University
10 questions
RedOx Reactions
Flashcard
•
University
10 questions
Guess the song
Flashcard
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade