Search Header Logo

Object Oriented Programming (Java)

Authored by Anna Silvester

Computers

Professional Development

Used 1+ times

Object Oriented Programming (Java)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best describes the term 'Inheritance'

Hiding the internal state and functionality of an object and only allowing access through a public set of functions.

Modeling the relevant attributes and interactions of entities as classes to define an abstract representation of a system.

The ability to implement inherited properties or methods in different ways across multiple abstractions.

The ability to create new abstraction based on existing abstractions.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best describes the term 'Encapsulation'

Hiding the internal state and functionality of an object and only allowing access through a public set of functions.

Modeling the relevant attributes and interactions of entities as classes to define an abstract representation of a system.

The ability to implement inherited properties or methods in different ways across multiple abstractions.

The ability to create new abstraction based on existing abstractions.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best describes the term 'Abstraction'

Hiding the internal state and functionality of an object and only allowing access through a public set of functions.

Modeling the relevant attributes and interactions of entities as classes to define an abstract representation of a system.

The ability to implement inherited properties or methods in different ways across multiple abstractions.

The ability to create new abstraction based on existing abstractions.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What best describes the term 'Polymorphism'

Hiding the internal state and functionality of an object and only allowing access through a public set of functions.

Modeling the relevant attributes and interactions of entities as classes to define an abstract representation of a system.

The ability to implement inherited properties or methods in different ways across multiple abstractions.

The ability to create new abstraction based on existing abstractions.

5.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Media Image

The code shown here demonstrates the use of which OOP principle?

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

The sample code show employs 'method overriding'. What does method overriding enable?

It allows for multiple definitions of the same function that are distinguished by input variables.

It allows inherited classes to define their own implementation of the function Print().

It allows inherited classes to reuse the definition of the function Print().

It allows the user to override static, abstract, and private modifiers.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Using Method Overriding is an example of:

inheritance

polymorphism

encapsulation

abstraction

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?