Welcome to the 5 Minute Java Test


Question: Which of the following classes will you use to generate random int values from multiple threads without degrading performance?

Select 1 option(s)


Question: Which of the following are required to construct a Locale?

Select 1 option(s)


Question: java.util.Locale allows you to do which of the following?

Select 2 option(s)



Assume the following declarations:

class A{ }


 class B extends A{ }

class C extends B{ }

class X{

 B getB(){ return new B(); }


class Y extends X{

  //method declaration here


Which of the following methods can be inserted in class Y?

Select 2 option(s):



In Java, Strings are immutable. A direct implication of this is...

Select 2 option(s)



You are working on an application that is NOT structured as a modular application. However, you need to use a third party library that is packaged as a modular jar:-

named abc.utils.jar in your application.

Given that you launch your application using a class named Main, which of the following options should be used to make sure your application is able to access the

classes in the third party jar.

(Assume that abc.utils.jar and your application classes are in current directory.)

Select 1 option(s):