OOP Concept Java

OOP Concept Java

University

10 Qs

quiz-placeholder

Similar activities

Object Oriented Programming Quizz

Object Oriented Programming Quizz

University

10 Qs

keistimewaan OOP

keistimewaan OOP

University

15 Qs

packages and interfaces

packages and interfaces

University

10 Qs

FOS Ch:2 Part II (QUIZ 6)

FOS Ch:2 Part II (QUIZ 6)

University

10 Qs

Java

Java

University

10 Qs

JAVA Quiz on 17-09-2021 (1st hr)

JAVA Quiz on 17-09-2021 (1st hr)

University

5 Qs

ROUND 3

ROUND 3

University

10 Qs

MultiThreading Quiz

MultiThreading Quiz

University

15 Qs

OOP Concept Java

OOP Concept Java

Assessment

Quiz

Computers

University

Hard

Created by

John Joshua Mendoza

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Which keyword is used in Java to indicate that a class is inheriting properties from another class?

implements

extends

inheritance

inherits

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the term used to describe the relationship between a subclass and a superclass in Java?

aggregation

association

inheritance

extends

3.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

Which keyword is used to implement method overriding in Java?

extends

implements

override

super

4.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

What is polymorphism in Java?

The ability of an object to take on many forms.

The ability of a class to have multiple constructors.

The ability of a class to have multiple methods with the same name.

he ability of a method to call itself.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an abstract method in Java?

A method with a body.

A method without a body.

A method that cannot be called directly.

A method that cannot be overridden.

6.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Which keyword is used to implement an interface in Java?

class

interface

implements

extends

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can a class implement multiple interfaces in Java?

No, a class can only implement one interface.

Yes, a class can implement multiple interfaces.

Only abstract classes can implement multiple interfaces.

Only interfaces can implement other interfaces.

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?