Java Quizzes, Questions & Answers
Recent Quizzes
Java Server Faces (JSF ) is a web application framework. In this JSF quiz, we test your skills by providing you with JSF MCQ and answers. The quiz contains various facts and conceptual and application-based...
Questions: 10 | Attempts: 2499 | Last updated: Aug 22, 2023
-
Sample QuestionWhat is the Default Templating System for JSF?
Questions: 7 | Attempts: 743 | Last updated: Mar 21, 2023
-
Sample QuestionWhat is test-driven development (TDD)?
Questions: 6 | Attempts: 304 | Last updated: Mar 21, 2023
Questions: 6 | Attempts: 1130 | Last updated: Mar 15, 2023
-
Sample QuestionWhat is the base class for Error and Exception in Java?
Java is a programming language for developing and designing applications for computers. Here is an assessment test to evaluate your knowledge of Java programming.
Questions: 10 | Attempts: 375 | Last updated: Mar 20, 2023
-
Sample QuestionWho owns the Java now?
Made by Viet Ho at
Saint Paul College, Fall 2017
Questions: 40 | Attempts: 125 | Last updated: Apr 5, 2024
-
Sample QuestionLike a loop, a recursive method must have:
Pls Note:1) There are 20 questions in a quiz.2) Time duration is 15 minutes.3) Only one attempt is allowed.4) Candidate can navigate questions and review answers before final submission5) Compulsory to fill...
Questions: 41 | Attempts: 504 | Last updated: Mar 18, 2023
-
Sample QuestionFrom the following statements which is a disadvantage of an java array?
Java is one of the most popular and authoritative programming languages in the whole world. Take this quiz to evaluate your level of Java programming language.
Questions: 10 | Attempts: 288 | Last updated: Mar 19, 2023
-
Sample QuestionWhat was Java initially called?
Java is a high-level programming language because it is much closer to human languages and farther from the languages of machine. It is the most widely used programming language. Take this quiz to learn more about Java.
Questions: 10 | Attempts: 69 | Last updated: Mar 20, 2023
-
Sample QuestionWhat is the full meaning of JRE?
Answer the following quiz. It is very important that you type in your names to record your final marks.Good luck!
Questions: 10 | Attempts: 85 | Last updated: Mar 16, 2023
-
Sample QuestionWhat is this in JAVA?A blueprint from which individual objects are created.
Questions: 20 | Attempts: 303 | Last updated: Mar 21, 2023
-
Sample QuestionWhich of the following are legal lines of Java code? 1. int w = (int)888.8; 2. byte x = (byte)100L; 3. long y = (byte)100; 4. byte z = (byte)100L;
Questions: 30 | Attempts: 1162 | Last updated: Mar 21, 2023
-
Sample QuestionWhat is the range of short data types in Java?
JAVA FINAL EXAM
Questions: 42 | Attempts: 185 | Last updated: Mar 14, 2023
-
Sample QuestionWhat is the size of a Char?
.
Questions: 30 | Attempts: 150 | Last updated: Mar 14, 2023
-
Sample QuestionWhich one among these are OOPS features?
Spring 2017. Made by Viet HoSaint Paul College | Minnesota
Questions: 19 | Attempts: 289 | Last updated: Mar 21, 2023
-
Sample QuestionThe constructor in the SeparateIterator class
The 25 questions most important parts of the course tested Dhdagr 70 earn a lower score, you need to study this lesson
Questions: 25 | Attempts: 426 | Last updated: Mar 21, 2023
-
Sample QuestionPublic class Swap { public static void swapStrings(String x, String y){ String temp = x; x=y; y=temp; } public static void main(String[] args) { String a = "1"; String b = "2"; swapStrings(a, b); System.out.println("a="+a+" ,b="+b); }} What will be the output when executing this main?
Questions: 40 | Attempts: 512 | Last updated: Mar 21, 2023
-
Sample QuestionConsider the following code: Line no 1:class Outer{ Line no 2:public static class Inner{ Line no 3:} Line no 4:public static void display(){ } } Line no 5:public class Test Line no 6:{ Line no 7:public static void main(String args[]) Line no 8:{ Line no 9://Replace with code from the option below Line no 10:}} Which of the following option when replaced at line no 9,instantiates an instance of the nested class?
Questions: 11 | Attempts: 253 | Last updated: Mar 15, 2023
-
Sample QuestionJava Script File Has An Extension Of
Questions: 79 | Attempts: 77 | Last updated: Jun 19, 2023
-
Sample QuestionWhich are true1. members in interface are protected implicitly if interface is protected2. members in interface are public implicitly if interface is public3. interface can inherit another interface4. class can inherit any number of interfaces5. if an abstract class implements an interface, we have to override abstract method of the interface
Basic Elements of Java
Questions: 42 | Attempts: 1072 | Last updated: Mar 22, 2023
-
Sample QuestionSuppose x = 2 and y = 3. If the statement x *= y; is executed once, what is the value of x?
Questions: 93 | Attempts: 192 | Last updated: Mar 18, 2023
-
Sample QuestionObject-Oriented Programming means
JAVA FINAL EXAM
Questions: 39 | Attempts: 1904 | Last updated: Feb 9, 2024
-
Sample QuestionWhat is the size of a Char?
Java is one of the most used programs by nerds and techs in the world today. If you are one of them, you know practice is key. This quiz helps you practice on it. All the best.
Questions: 10 | Attempts: 171 | Last updated: Mar 21, 2023
-
Sample QuestionPrograms designed for maintainability are constructed from small simple pieces or modules. Modules in Java are called:
This quiz is conducted as part of the activity based class and its score will be considered for the continuous evaluation of the course "Programming with Java"
Questions: 10 | Attempts: 317 | Last updated: Mar 21, 2023
-
Sample QuestionWhich will legally declare, construct, and initialize an array?
.
Questions: 18 | Attempts: 291 | Last updated: Mar 20, 2023
-
Sample QuestionConsider the following program: class Point2D { private int x, y; public Point2D(int x, int y) { this.x = x; } public String toString() { return "[" + x + ", " + y + "]"; } public static void main(String []args) { Point2D point = new Point2D(10, 20); System.out.println(point.toString()); } } Which one of the following options provides the output of this program when executed?
Advertisement