Composition uses the concept of ___________ relationship.
OBJECT ORIENTED PROGRAMMING WITH JAVA

Quiz
•
Computers
•
University
•
Medium
'Aisyah Sa'dan
Used 30+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
has-a
is-a
one-to-one
one-to-many
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inheritance can use the concept of ___________ relationship.
has-a
is-a
one-to-one
one-to-many
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An abstract method is a method ____________
with a return statement
which cannot be overridden
with a return statement and can be overridden
with no definition
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the JAVA programming language, the concept of keeping data private is known as __________.
polymorphism
information hiding
static binding
inheritance
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A(n) ________________is a blueprint that defines the variables and the methods common to all objects of a certain kind.
Class
Abstraction
Encapsulation
Inheritance
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Composition is also known as
Modularity
Encapsulation
Aggregation
Instantiation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the FALSE statement about abstract class
It is a superclass with generic behaviour
Definition of abstract method is implemented in subclass
Subclasses must implement all the abstract methods in the superclass
Abstract class must have more than one abstract method
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Object Oriented Programming

Quiz
•
University
15 questions
Introduction to OOP Quiz

Quiz
•
University
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
10 questions
JAVA FOR ANDROID-JAVA

Quiz
•
University
10 questions
Objection-Oriented Concepts

Quiz
•
University
10 questions
Java Inheritance

Quiz
•
11th Grade - University
6 questions
Polymorphism

Quiz
•
University
10 questions
Q4 - Comp Vision

Quiz
•
University
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