Advertisement
Advertisement
12th Grade Java Quizzes, Questions & Answers
Think your child knows their 12th grade Java? Read more
Challenge them with our fun and engaging Java quizzes! Perfect for reinforcing classroom learning and discovering new facts about the world around them.
Read less
Top Trending Java Quizzes
Recent Java Quizzes
Questions: 38 | Attempts: 416 | Last updated: Mar 21, 2025
-
Sample QuestionChoose the best definition for a Class.
Questions: 10 | Attempts: 115 | Last updated: Feb 13, 2025
-
Sample QuestionIn Java, each thread has its own ________, in which it runs?
Questions: 29 | Attempts: 7698 | Last updated: Jul 22, 2025
-
Sample QuestionGive the abbreviation of AWT?
Questions: 5 | Attempts: 165 | Last updated: Mar 20, 2025
-
Sample QuestionGiven: public class Test{ public static void main(String[] args) { Test obj = new Test(); short letter = 97; int letter2 = 98; int long = 99; System.out.print((char) letter + " "); System.out.print((char) letter2); } } What is the result?
Questions: 10 | Attempts: 150 | Last updated: Mar 19, 2025
-
Sample QuestionPlay Frame Work is written in
Questions: 6 | Attempts: 306 | Last updated: Mar 21, 2025
-
Sample QuestionWhich of the following are true about Exceptions in the Java language?
Questions: 10 | Attempts: 303 | Last updated: Mar 19, 2025
-
Sample QuestionWhat was Java initially called?
Questions: 25 | Attempts: 427 | Last updated: Mar 21, 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: 6832 | Last updated: Mar 22, 2025
-
Sample QuestionSwing components are
Questions: 40 | Attempts: 512 | Last updated: Mar 21, 2025
-
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?
Advertisement