Logo

Java Questions Set 267:

Quiz Mode

Class can be declared as protected

1
2

Solution:

Exit()  is not a valid flow control statement 

1
2

Solution:

A constructor with arguments is known as _________ constructor.

Solution:

Which of the following is not a part of exception handling.

1
2
3
4

Solution:

Which of the following is not a primitive data type in Java?

1
2
3
4

Solution:

Which Java package contains all the collection classes?

1
2
3
4

Solution:

How many else if blocks can an if statement contain?

1
2
3
4

Solution:

pollLast() is used to 

1
2
3
4
5

Solution:

Select the situation where exceptions will not arise in java?

1
2
3
4

Solution:

Select the wrong sentence related to Error Handling in java.

1
2
3
4

Solution: