Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

Abstract Quiz

star
star
star
star
star
Posljednje ažuriranje about 2 years ago
10
1
1
1
1
1
1
1
1
1
1
Pitanje 1
1.

A abstract class can extend another _________________ .

Pitanje 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();

}

Pitanje 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 "--";

}

}

Pitanje 4
4.

Which of the following could be placed in Box?

public abstract class Box {

}

Pitanje 5
5.

Which of the following could be placed in Demo?

public abstract class Demo {

}

Pitanje 6
6.

Which of the following could be placed in Bison?

public abstract class Bison

{

}

Pitanje 7
7.

Which of the following could be placed in Eagle?

public abstract class Eagle

{

}

Pitanje 8
8.

Which of the following could be placed in Smasher?

public abstract class Smasher

{

}

Pitanje 9
9.

Which of the following could be placed in Grill?

public abstract class Grill

{

}

Pitanje 10
10.

Which of the following could be placed in Socks?

public abstract class Socks

{

}