Java Quizzes, Questions & Answers
Recent Quizzes
This is a Java programming language quiz. Take this practice quiz and learn more codings of java.
Questions: 20 | Attempts: 1483 | Last updated: Mar 22, 2023
-
Sample QuestionWhich of the following statement is true regarding constructors? Which of the following statement is true regarding constructors?
Tests rules for assigning values to variables and operator precedence in Java
Questions: 30 | Attempts: 699 | Last updated: May 15, 2024
-
Sample QuestionFollowing code will compile. public class TestOnOprs { public static void main(String[] args) { float f = 36.25; System.out.println(f); } }
This quiz tests your knowlege about Basic Java Programming
Questions: 6 | Attempts: 127 | Last updated: May 6, 2024
-
Sample QuestionJava is
Have you practiced Java enough that you are ready to learn advanced Java? Take this advanced Java quiz, and see how much you have learned. This will examine your understanding of JSP, Servlet, and Design patterns. You will get an...
Questions: 22 | Attempts: 11366 | Last updated: Sep 1, 2024
-
Sample QuestionWhich method in the HttpServlet class services the HTTP POST request? (Select one)
Hi
Questions: 30 | Attempts: 4407 | Last updated: Nov 7, 2023
-
Sample QuestionChoose the operations that can be performed on String objects: (A) + (B) + = (C) - (D) % (E) ^
Keywords,operators,primitive datatypes,variables and typecasting
Questions: 30 | Attempts: 102 | Last updated: Dec 14, 2023
-
Sample QuestionWhich of the following lines will compile without warning or error.
What do you know about Java? This is a quiz on Java Swing frames. Are you ready for this Java: Swing Frames Trivia Quiz. J Frames work as the main window where components like labels, buttons, and text fields get added to create...
Questions: 10 | Attempts: 2831 | Last updated: Jul 16, 2023
-
Sample QuestionIn Java, what do you name an area on the screen that has fine borders and various buttons on the top border?
Basics of Java
Questions: 25 | Attempts: 729 | Last updated: Mar 19, 2023
-
Sample Questionimport myLibrary.*; public class ShowSomeClass { // code for the class... } What is the name of the java file containing this program?
Java
Questions: 25 | Attempts: 499 | Last updated: Mar 22, 2023
-
Sample QuestionGiven: 11. public interface Status { 12. /* insert code here */ int MY_VALUE = 10; 13. } Which three are valid on line 12? (Choose three.)
The quiz below is on session Initiation protocol servlets from the Java training we had these past weeks. It is perfect for ensuring that you have understood all that we have covered. Do you think you have what it takes to tackle...
Questions: 28 | Attempts: 942 | Last updated: Mar 22, 2023
-
Sample QuestionThe body of a SIP message can contain a different protocol message embedded.
ANSWER THE FOLLOWING QUESTIONS .
Questions: 25 | Attempts: 4601 | Last updated: Sep 26, 2023
-
Sample QuestionPick runtime exception?....
Questions: 47 | Attempts: 228 | Last updated: Mar 21, 2023
-
Sample QuestionThe ____ is the brain of the computer.
Questions: 20 | Attempts: 1408 | Last updated: Jul 22, 2024
-
Sample Question--Controller Servlet in struts
Are you a hoard core Java programmer? If so, you must be aware of the basics of the Java programming language. This quiz will tell you if your basics are strong or if you still need more practice. Java is a high-level and...
Questions: 12 | Attempts: 3391 | Last updated: Jan 4, 2024
-
Sample QuestionBefore you start: if something is written in quotation marks("quote") then it means Java code What is the name for an application that changes a human-readable programming language into a machine-readable language?
The test over chapter one.
Questions: 14 | Attempts: 311 | Last updated: Mar 18, 2023
-
Sample QuestionWhat is a statement?
Chapter 5 Revision
Questions: 18 | Attempts: 284 | Last updated: Mar 21, 2023
-
Sample Questionpublic class Converter { public static void main(String args [ ]) { Converter con = new Converter(); con.dollartoRupees(15); } double dollartoRupees(int dollar) { System.out.println (dollar+" dollar is equivalent to Rs" +dollar*25); } } What will be the output of this program?
Questions: 10 | Attempts: 130 | Last updated: Mar 20, 2024
-
Sample QuestionTrue or False: Arrays cannot be passed as parameters into methods, but their elements can be passed individually.
Questions: 10 | Attempts: 175 | Last updated: Mar 21, 2023
-
Sample QuestionTrue or False: Constructors do not have a type.
Questions: 10 | Attempts: 130 | Last updated: Mar 11, 2024
-
Sample QuestionTrue or False: Void methods do not have a type.
Questions: 9 | Attempts: 324 | Last updated: Mar 21, 2023
-
Sample QuestionTrue or False: A loop is a control-structure used for repetition of certain statements.
Questions: 11 | Attempts: 734 | Last updated: Mar 22, 2023
-
Sample QuestionTrue or False: Hello! is an example of a legal identifier.
Questions: 10 | Attempts: 132 | Last updated: May 15, 2024
-
Sample QuestionTrue or False: A keyboard is an example of an output device.
Questions: 31 | Attempts: 858 | Last updated: Aug 21, 2023
-
Sample QuestionIn Java, the mechanism that allows you to combine data and operations on the data into a single unit is called a(n) ____.
Chapter 3 Revision
Questions: 10 | Attempts: 184 | Last updated: Mar 17, 2023
-
Sample QuestionWhich of the following is NOT a reserved word in Java?
Chapter 2 Revision
Questions: 6 | Attempts: 150 | Last updated: Aug 20, 2024
-
Sample QuestionA Java source code can be created in ______ .
Advertisement