Day 3 Wipro

Day 3 Wipro

University

34 Qs

quiz-placeholder

Similar activities

Quiz on Mechanics and Equilibrium

Quiz on Mechanics and Equilibrium

University

30 Qs

Fuel Oil - Finals

Fuel Oil - Finals

University

30 Qs

Python and Tech Quiz

Python and Tech Quiz

University

30 Qs

SOFTWARE TRAINING INVENTOR

SOFTWARE TRAINING INVENTOR

University

30 Qs

4.3.1 - Brainstorming

4.3.1 - Brainstorming

10th Grade - University

34 Qs

BASICS OF FACIAL RECOGNITION

BASICS OF FACIAL RECOGNITION

University

30 Qs

Smart Building

Smart Building

University

30 Qs

Exploring C++ and Object Oriented Concepts

Exploring C++ and Object Oriented Concepts

University

30 Qs

Day 3 Wipro

Day 3 Wipro

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Ms.Yatri Davda

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for inheritance in Java?

this

super

extends

implements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many classes can a Java class extend?

One

Two

Unlimited

Zero

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if a subclass does not explicitly call super()?

Error occurs

JVM inserts it automatically

Parent constructor is never called

Program doesn’t compile

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is at the top of the inheritance hierarchy in Java?

Object 

Superclass 

Main 

System

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which access modifier allows inheritance outside the package?

private 

public

protected

default

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen if a class is marked final?

It can be inherited

It cannot be extended

Its methods can’t be called

It must have a constructor

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT required for method overriding?

Same name 

Same return type

Same parameters

private modifier

Create a free account and access millions of resources

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?