Java Mock Test | Test your Java Knowledge In Just 5 Minutes

1. Java Mock Test

Earler we have discussed few parts of Java Mock Test. Today, we will see the last and the bset part of Java Quiz that is Java Mock Test part 7. This quiz contains a variety of Java questions which will help to move ahead in Java. Also, with this Java Mock test you can prepare your self for the basic and technical Java interview. After completing this Java Mock test you will get a free guide for your Java interview.

So, let’s start the Java Mock Test.

Java Mock Test | Test your Java Knowledge In Just 5 Minutes

Java Mock Test | Test your Java Knowledge In Just 5 Minutes

Q.1 Which of those isn't an interface within the Collections Framework?

Correct! Wrong!

Q.2 Which interface restricts duplicate elements?

Correct! Wrong!

Q.3 Which of those assortment categories has the flexibility to grow dynamically?

Correct! Wrong!

Q.4 The efficiency and accuracy of a HashMap are often warranted with:

Correct! Wrong!

Q.5 A HashMap permits the existence of:

Correct! Wrong!

Q.6 In an Iterator what implementation will traverse a collection in each direction?

Correct! Wrong!

Q.7 The Comparable interface contains that called?

Correct! Wrong!

Q.8 Which is quicker and uses less memory?

Correct! Wrong!

Q.9 What Iterator will throw a ConcurrentModificationException?

Correct! Wrong!

Q.10 State the number of default number of segments in Concurrent HashMap.

Correct! Wrong!

Q.11 Which is best suited to a multi-threaded environment?

Correct! Wrong!

Q.12 The default capacity of a Vector is:

Correct! Wrong!

Q.13 Which doesn't implement the collection interface?

Correct! Wrong!

Q.14 The default capacity of an ArrayList is:

Correct! Wrong!

Q.15 Which of the following provides higher performance for the insertion and removal from the center of the list?

Correct! Wrong!

Q.16 An unordered array has a search time complexity of:

Correct! Wrong!

Q.17 The add and take away methods of TreeSet have a time complexity of:

Correct! Wrong!

Q.18 After resizing, size of ArrayList is increased by :

Correct! Wrong!

Q.19 After resizing, size of Vector is accumulated by:

Correct! Wrong!

Q.20 Deque and Queue are derived from:

Correct! Wrong!

Hope you enjoyed this Java Mock Test. Now, as we said here is the guide for Java Interview.

You must check – 

Java Latest Quiz

Questions fpor Java Interview

2 Responses

  1. RAMU says:

    this is a most useful site for Java learners. question and answer type is so nice for learners . I want to see more and more questions like this

    • DataFlair Team says:

      Hi Ramu,
      Thanks for playing the Java Quiz. Your feedback is valuable for us. Hope you have checked the further parts of Java Quiz, if not then you must visit. You will get many more questions there.
      Here is the link for you
      Java Quiz Series
      Keep learning

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.