OOP Concept Java

OOP Concept Java

University

10 Qs

quiz-placeholder

Similar activities

P1_APLab2Quiz_B3B4

P1_APLab2Quiz_B3B4

University

10 Qs

Applet Java

Applet 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

JSP

JSP

University

10 Qs

Java Quiz 1

Java Quiz 1

University

10 Qs

OOPs Quiz

OOPs Quiz

University

10 Qs

Android Fundamentals - Day 1: Java

Android Fundamentals - Day 1: Java

University - Professional Development

10 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?