Log in
Sign up for FREE
arrow_back
Library

Abstract Quiz

star
star
star
star
star
Last updated almost 2 years ago
10 questions
1
1
1
1
1
1
1
1
1
1
Question 1
1.

A abstract class can extend another _________________ .

Question 2
2.

What is the minimum number of methods a class extending abstract class Demo could have?
public abstract class Wile {
public abstract String destroy();
}

Question 3
3.

What is the number of methods a class extending abstract class SpaceShip should implement?
public abstract class SpaceShip {
public Demo() {
}
public abstract String destroy();
public String toString() {
return "--";
}
}

Question 4
4.

Which of the following could be placed in Box?
public abstract class Box {
}

Question 5
5.

Which of the following could be placed in Demo?
public abstract class Demo {
}

Question 6
6.

Which of the following could be placed in Bison?
public abstract class Bison
{
}

Question 7
7.

Which of the following could be placed in Eagle?
public abstract class Eagle
{
}

Question 8
8.

Which of the following could be placed in Smasher?
public abstract class Smasher
{
}

Question 9
9.

Which of the following could be placed in Grill?
public abstract class Grill
{
}

Question 10
10.

Which of the following could be placed in Socks?
public abstract class Socks
{
}