Object-Oriented Programming I Review

Object-Oriented Programming I Review

University

12 Qs

quiz-placeholder

Similar activities

bootcamp

bootcamp

University

8 Qs

UML-2020-158225-Week8-Class and Method Design-NTY

UML-2020-158225-Week8-Class and Method Design-NTY

University

10 Qs

Quiz #2 (Refer to Javatpoint in answering these question)

Quiz #2 (Refer to Javatpoint in answering these question)

University

13 Qs

CSC305: TOPIC 6

CSC305: TOPIC 6

University

15 Qs

P1_APLab2Quiz_B3B4

P1_APLab2Quiz_B3B4

University

10 Qs

Understanding Object-Oriented Programming

Understanding Object-Oriented Programming

University

14 Qs

Java Viva

Java Viva

University

10 Qs

OOP java - Inheritance

OOP java - Inheritance

University

10 Qs

Object-Oriented Programming I Review

Object-Oriented Programming I Review

Assessment

Quiz

Computers

University

Medium

Created by

Cluster Videos

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way of printing with placeholders?

System.out.printf("%f", 9.9);

System.out.println("%f", 9.9);

System.out.print("%f", 9.9);

System.out.printline("%f", 9.9);

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the main principles of OOP defined as the mechanism of hiding of data implementation by restricting access to public methods.

Encapsulation
Inheritance
Polymorphism
Abstraction

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the main principles of OOP which expresses a “is-a” and/or “has-a” relationship between two objects.

Inheritance
Polymorphism
Encapsulation
Abstraction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It means "one name, many forms".

Polymorphism
Encapsulation
Inheritance
Abstraction

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One of the principles of OOP that express the intent of the class rather than the actual implementation.

Abstraction
Inheritance
Polymorphism
Encapsulation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A non-access modifier that doesn't allow any changes.

abstract

synchronized

final

static

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A non-access modifier that makes the attribute dependent on a class.

static
final

synchronized

abstract

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?