Day 1 Wipro Training

Day 1 Wipro Training

University

30 Qs

quiz-placeholder

Similar activities

Algoritmos I

Algoritmos I

University

35 Qs

Round1

Round1

University

25 Qs

Techsaavy Codeathon 2k25 Round 1

Techsaavy Codeathon 2k25 Round 1

University

25 Qs

Qualifier Set B

Qualifier Set B

University

25 Qs

Hackharbor 3.0 Day 4:C

Hackharbor 3.0 Day 4:C

University

30 Qs

ByteBattle 2.0 (2)

ByteBattle 2.0 (2)

University

30 Qs

CIPHER QUEST ROUND 1 SET 2

CIPHER QUEST ROUND 1 SET 2

University

25 Qs

 ByteBattle2.0(C)

ByteBattle2.0(C)

University

30 Qs

Day 1 Wipro Training

Day 1 Wipro Training

Assessment

Quiz

Engineering

University

Medium

Created by

Ms.Yatri Davda

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true about constructor overloading in Java?

Constructors can have the same name and parameter list

Constructors must return a value

Constructors can be overloaded with different parameter types

Constructors cannot be overloaded

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword prevents a class from being inherited?

abstract

static

final

private

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is not a feature of OOP in Java?

Compilation

Polymorphism

Encapsulation

Inheritance

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the following code?

5

10

15

Compilation error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which access modifier allows access only within the same package?

private

protected

public

default

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of "10" + 20 + 30 in Java?

1050.30

1050

1050.0

102030

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is true about ArrayList in Java?

It's thread-safe

It stores primitive types only

It's dynamic

It is fixed in size

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?