Abstraction

Abstraction

University

7 Qs

quiz-placeholder

Similar activities

java quiz on Encapsulation and Abstraction

java quiz on Encapsulation and Abstraction

University

10 Qs

Java Control Flow Statements

Java Control Flow Statements

University

10 Qs

Динамические библиотеки

Динамические библиотеки

University

10 Qs

Inheritance3

Inheritance3

University

10 Qs

Temel Java Bilgisi Ölçme Testi

Temel Java Bilgisi Ölçme Testi

University

10 Qs

ITS42004 Abstract Classes and Interfaces

ITS42004 Abstract Classes and Interfaces

University

10 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

Stings, Cloning and ArrayList

Stings, Cloning and ArrayList

University

10 Qs

Abstraction

Abstraction

Assessment

Quiz

Computers

University

Medium

Created by

Archana Pasalkar

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of providing necessary information and hiding unnecessary information is ____

Inheritance

Polymorphism

Abstraction

Encapsulation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstract Method is___

the method which is having body

block of statement in one unit

A method that has no body

static method

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstract methods cannot be

final

static

private

All of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An interface is a collection

Public static methods

public static final variables

public abstract methods

both 2 & 3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Interface can be inherited into a class by using____word

extends

implements

abstract

static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstract class is____

a class that cannot be instantiated.

a class which has no methods

a class which has only abstract methods

a class which has only overridden methods

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is valid syntax for abstract class

abstract class A

{

void show(){}

void print(){}

}

abstract class A

{

void show();

void print();

}

abstract class A

{

abstract void show();

abstract void print();

void print(){}

}

None