Object/Abstract/Final in JAVA

Object/Abstract/Final in JAVA

University

10 Qs

quiz-placeholder

Similar activities

ICF-Mechanical-(Theory Quiz-2)

ICF-Mechanical-(Theory Quiz-2)

University

10 Qs

Computer Network

Computer Network

University

10 Qs

HTML Quiz

HTML Quiz

University

10 Qs

Computer Programming Vocabulary-1

Computer Programming Vocabulary-1

KG - University

11 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

Computer Science (1-9) - Identifying & Preventing Threats

Computer Science (1-9) - Identifying & Preventing Threats

University

11 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

Internet

Internet

University

11 Qs

Object/Abstract/Final in JAVA

Object/Abstract/Final in JAVA

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Usama Rahman

Used 104+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these class is super class of every class in Java?

String class

Object class

ArrayList class

Abstract class

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these method of Object class is used to obtain class of an object at run time?

Class getclass()

void getclass()

get()

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these keywords can be used to prevent inheritance of a class?

super

constant

extends

final

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class relies upon its subclasses for complete implementation of its methods?

Object class

abstract class

ArrayList class

None of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Java program?

2

0

Compilation Error

Runtime Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords are used to define an abstract class?

Abstract

abstract

abstract class

abst

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is not type of inheritance?

Single inheritance

Double inheritance

Hierarchical inheritance

Multilevel inheritance

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?

Discover more resources for Computers