Advertisement
Advertisement
Java Quizzes, Questions & Answers
Recent Java Quizzes
Questions: 319 | Attempts: 1669 | Last updated: Mar 21, 2025
-
Sample QuestionJTable has which of the following functions?
Questions: 44 | Attempts: 235 | Last updated: Mar 20, 2025
-
Sample QuestionJSP. What is wrong with this code?AccountingAllocation allocation = new AccountingAllocation("001"); it = allocatedFrom.iterator();while (it.hasNext()) { if (allocation == null) continue; System.out.println("Value = " + allocation.getValue()); }
Questions: 5 | Attempts: 61 | Last updated: Jun 5, 2025
-
Sample QuestionWhat is the correct order?
Questions: 10 | Attempts: 14562 | Last updated: Mar 21, 2025
-
Sample QuestionHow will you describe Java?
Questions: 20 | Attempts: 8463 | Last updated: Mar 22, 2025
-
Sample QuestionUsing the declaration below, what will be the final element of the array? int [ ] grades = new int[35];
Questions: 25 | Attempts: 5471 | Last updated: Sep 22, 2025
-
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: 25 | Attempts: 1178 | Last updated: Oct 16, 2025
-
Sample QuestionChoose the best definition for a Class.
Questions: 11 | Attempts: 3171 | Last updated: Aug 23, 2025
-
Sample QuestionWhat is an array?
Questions: 10 | Attempts: 335 | Last updated: Mar 19, 2025
-
Sample QuestionWhich of the following process converts Java programming language code to a set of bytecodes?
Questions: 30 | Attempts: 114 | Last updated: Mar 15, 2025
-
Sample QuestionWhat is java ?
Advertisement