Java Online Quiz – Test Your Knowledge in 7 Min. Only

1. Java Online Quiz

Earlier we saw Java Quiz Part 1. This Java online quiz will help you to clear your java concepts and also check your java knowledge. It will increase your confidence while appearing for Java interview. Answer all these Java online quiz questions and follow the relevant link for better Java understanding.

Java Online Quiz

Java Online Quiz 2018 – Test Your Knowledge

So, ALL THE BEST!! for this Java Online Quiz.

Q.1 What guarantees type-safety in a collection?

Correct! Wrong!

Q.2 HashSet internally uses?

Correct! Wrong!

Q.3 The most used interfaces from the collection framework are?

Correct! Wrong!

Q.4 The root interface of Java collection framework hierarchy is -

Correct! Wrong!

Q.5 Which of those is synchronized?

Correct! Wrong!

Q.6 ArrayList implements that of the following?

Correct! Wrong!

Q.7 Which of those permits the storage of the many null values?

Correct! Wrong!

Q.8 nextIndex() and previousIndex() are methods of that interface?

Correct! Wrong!

Q.9 Vector extends that of these?

Correct! Wrong!

Q.10 LinkedList implements?

Correct! Wrong!

Q.11 In Iterator, nextElement() method of Enumeration has been changed to:

Correct! Wrong!

Q.12 Enumeration returned by Vector is?

Correct! Wrong!

Q.13 From Java five onwards, that one among these is suggested to replace Hashtable?

Correct! Wrong!

Q.14 Which doesn't permit to store a null value?

Correct! Wrong!

Q.15 Iterator returned by Vector is?

Correct! Wrong!

Q.16 What describes however well an algorithm performs in best, average or worse case scenarios?

Correct! Wrong!

Q.17 State the search time complexity of an ordered array.

Correct! Wrong!

Q.18 Name the map that should be kept in multi-threading environment to keep up the natural order of keys?

Correct! Wrong!

Q.19 TreeMap implements?

Correct! Wrong!

Q.20 Which list class should be most popular in a multi-threading environment, considering performance constraint?

Correct! Wrong!

See also – 

Java Quiz Part 3

Technical Java Quiz Questions

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.