Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

Interfaces Quiz

star
star
star
star
star
Last updated about 2 years ago
10 Nsɛmmisa
1
1
1
1
1
1
1
1
1
1
Asemmisa {{asɛmmisaAhyɛnsode}}
1.

A class that implements Comparable must implement how many methods at minimum?

public interface Comparable

{

public abstract int compareTo();

}

Asemmisa {{asɛmmisaAhyɛnsode}}
2.

A class that implements Wile must implement how many methods at minimum?

public interface Wile

{

public abstract int go();

public abstract double stop( int x );

}

Asemmisa {{asɛmmisaAhyɛnsode}}
3.

All methods located inside of an interface are automatically set with what access?

Asemmisa {{asɛmmisaAhyɛnsode}}
4.

Which of the following could fill <blank 1>?

public interface Quiz

{

<blank 1>

}

Asemmisa {{asɛmmisaAhyɛnsode}}
5.

Which of the following could NOT fill <blank 1>?

public interface Quiz

{

<blank 1>

}

Asemmisa {{asɛmmisaAhyɛnsode}}
6.

All variables located inside of an interface are automatically set with what access?

Asemmisa {{asɛmmisaAhyɛnsode}}
7.

All variables located inside of an interface are automatically labeled with which of the following modifiers?

Asemmisa {{asɛmmisaAhyɛnsode}}
8.

Which of the following could fill <blank 1>?

public interface Bucket

{

<blank 1>

}

Asemmisa {{asɛmmisaAhyɛnsode}}
9.

Which of the following could fill <blank 1>?

public interface Plane

{

<blank 1>

}

Asemmisa {{asɛmmisaAhyɛnsode}}
10.

Which of the following can implement an interface?