10th Grade Core Java Quizzes, Questions & Answers
Top Trending Quizzes
Questions: 35 | Attempts: 136 | Last updated: Apr 23, 2024
-
Sample QuestionWhich statement is true?
Questions: 40 | Attempts: 257 | Last updated: Mar 21, 2023
-
Sample QuestionWhat happens when this code is compiled and executed? String name = null; File file = new File("/folder", name); System.out.print(file.exists());
INTRODUCTION TO OOPS
INTRODUCTION TO JAVA AND SDE
LANGUAGE FUNDAMENTALS AND OPERATORS
Questions: 45 | Attempts: 680 | Last updated: Sep 5, 2023
-
Sample QuestionConsider the following code: 1. class Test { 2. public static void main(String args[]) { 3. double d = 12.3; 4. Dec dec = new Dec(); 5. dec.dec(d); 6. System.out.println(d); 7. } 8. } 9. class Dec{ 10. public void dec(double d) { d = d - 2.0d; } 11. } Which of the following gives the correct value printed at line 6?
Are you looking for ways to advance your Java MCQ knowledge? The quiz below is set and designed not only to test your Java MCQ knowledge but to also advance it. All the best and enjoy learning.
Questions: 25 | Attempts: 600 | Last updated: Mar 22, 2023
-
Sample QuestionWhat all gets printed when the following gets compiled and run? public class test { public static void main(String args[]) { int i=1, j=1; try { i++; j--; if(i/j > 1) i++; } catch(ArithmeticException e) { System.out.println(0); } catch(ArrayIndexOutOfBoundsException e) { System.out.println(1); } catch(Exception e) { System.out.println(2); } finally { System.out.println(3); } System.out.println(4); } } here
Pls do the correction if the answer is wrong in core java.
Questions: 25 | Attempts: 701 | Last updated: Mar 22, 2023
-
Sample QuestionWhich of the following may override a method whose signature is void xyz (float f)?1.void xyz(float f)2.public void xyz(float f3,private void xyz(float f)
Recent Quizzes
Simple Quiz based on basics of Core Java covering almost all important aspects of programming language.Make sure to come out with flying colors.Passing: 80%Time: 30 Minuteswww.java-interviewer.blogspot.com
Questions: 50 | Attempts: 219 | Last updated: Mar 22, 2023
-
Sample QuestionYou would use Java because?
Questions: 5 | Attempts: 322 | Last updated: Oct 4, 2024
-
Sample QuestionWhich is the correct way to declare and store a character value to a variable?
Access Specifers, Constructors and method
Questions: 35 | Attempts: 140 | Last updated: Aug 6, 2024
-
Sample QuestionWhich access modifier have almost identical behaviour as that of default.?
Do you know the core Java language? Java is a classed based language that was made to have minimum implementation dependencies. It is a general-purpose programming language that allows application developers to run anywhere....
Questions: 40 | Attempts: 145 | Last updated: Mar 21, 2023
-
Sample QuestionChoose the possible constructor arguments of the Float wrapper class.
Advertisement