Java MCQ Test Day-2

Java MCQ Test Day-2

University

20 Qs

quiz-placeholder

Similar activities

UNIT , DIMENSION & STANDARD

UNIT , DIMENSION & STANDARD

University

15 Qs

Quiz on Sensors and Transducers

Quiz on Sensors and Transducers

University

20 Qs

QUIZ 1 SESI II 2024/2025 ECD 2603 ASSET & PROPERTY MANAGEMENT

QUIZ 1 SESI II 2024/2025 ECD 2603 ASSET & PROPERTY MANAGEMENT

University

20 Qs

Natural Language Processing CT-1

Natural Language Processing CT-1

University

20 Qs

TIDAL - WAVE ENERGY AND OCEN THERMAL ENERGY CONVERSION

TIDAL - WAVE ENERGY AND OCEN THERMAL ENERGY CONVERSION

University

20 Qs

8085 MICROPROCESSOR

8085 MICROPROCESSOR

University

16 Qs

Data Communications Quiz 1-ICE 3203

Data Communications Quiz 1-ICE 3203

University

20 Qs

SQL Quiz

SQL Quiz

University

20 Qs

Java MCQ Test Day-2

Java MCQ Test Day-2

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Veera Jagadeesh

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not abstract?

Thread

List

Array

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a correct statement?

Every class containing abstract method must be declared abstract

Abstract class defines only the structure of the class not its implementation

Abstract class can be initiated by new operator

Abstract class can be inherited

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these packages contains abstract keyword?

java.lang

java.io

java.util

java.System

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what is the output of the following code?

2 2

3 3

Run Time Error

Compile Time Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can be used to fully abstract a class from its implementation?

Object

Package

Abstract Class

Interfaces

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following access specifiers should be used with interfaces?

public

private

protected

default

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way of implementing an interface salary by class manager?

class manager extends salary {}

class manager implements salary {}

class manager imports salary {}

class manager gets salary{}

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?