Java Programming Quizzes & Trivia

Think you know all about ? You will be amazed at how many new things you could learn with java programming quizzes online!

Want to learn new facts and trivia about java programming? Satisfy your hunger for knowledge with some awesome java programming quizzes? Test yourself and share these java programming quizzes to find out who the real tech-wizard is! You can prepare for your next test, keep yourself updated or get insights into creating awesome questions with these java programming quizzes.

Made up of well-researched and interesting quiz questions, each and every java programming quiz here can test your awareness. With detailed feedback, you can learn something new about java programming with every question you attempt. So take the ultimate java programming quiz and check if you're the master of java programming.


The quiz is about the basic terminologies in Java programming. It also includes array declaration and the application of operators.

Questions: 20  |  Attempts: 1475   |  Last updated: May 18, 2017
  • Sample Question
    Using the declaration below, what will be the final element of the array? int [ ] grades = new int[35];

This Quiz is prepared to test the java knowlege.

Questions: 4  |  Attempts: 678   |  Last updated: Aug 17, 2017
  • Sample Question
    Who had invented java programing language

The quiz is about identification of the correct or incorrect declaration of identifiers and Java statements. (Valid or Invalid / Correct or Incorrect)

Questions: 30  |  Attempts: 332   |  Last updated: Aug 17, 2017
  • Sample Question
    Select V if the identifier below is VALID, otherwise select I.      ==counter

This is a simple Java Programming Test

Questions: 3  |  Attempts: 286   |  Last updated: Jan 7, 2013
  • Sample Question
    If you attempt to add an int and a byte, the result will be a ______ value.


Questions: 50  |  Attempts: 100   |  Last updated: Feb 11, 2013
  • Sample Question
    What is the range of an int data type in Java?




You May Also Like: Java Programming Flashcards

Java Programming Questions & Answers


What must the initialization be so that the following fragment prints out the integers -3 -2 -1? for ( _______; j < 0; j++    ) System.out.print( j + " " ); System.out.println( );
C is the answer to this question. There are some people who may become confused with integers and whole numbers because they somehow look the same. The only difference is the items are positive, negative, or they can also be zero. There are differen
Which symbol is used to denote a multi-line comment?
It's option B. / / which is used to denote a multi-line comment.
What is the main features in C which is not in C++?
Did you mean Java? the question ask for C features that aren't present in C++
More