Logo

Java Questions Set 265:

Quiz Mode

A Runnable is a Interface

1
2

Solution:

In java 'String' is a :

1
2
3
4

Solution:

  combining methods and attribute 

1
2
3
4

Solution:

What is the Java Virtual Machine (JVM)?

1
2
3
4

Solution:

Array is stored in which memory space

1
2
3
4

Solution:

Which of the following methods returns a value as a double?

1
2
3
4

Solution:

Predict the output of the following Java code that creates a jagged array.

1
2
3
4

Solution:

The Stream is classified into 

1
2
3
4

Solution:

What is the purpose of the throws keyword in Java?

1
2
3
4

Solution:

What happens if a concrete class provides an implementation for a method defined in an interface?

1
2
3
4

Solution: