This questions are about the core java concepts includeing language fundamentals, objects,interfaces,threads,loops,collections and garbage collections. . .
1,2 and 4
2,5 and 6
3,4 and 7
4,5 and 7
AC
BC
ACD
ABCD
Compilation fails
"odd" will always be output.
"even" will always be output.
"odd" will be output for odd values of x, and "even" for even values.
True
False
TreeMap
HashMap
LinkedHashMap
The answer depends on the implementation of the existing instance.
1,2,3,4
1,3,4,5
2,4,5,6
3,4,5,6
Thread t = new Thread(X);
Thread t = new Thread(X); t.start();
X run = new X(); Thread t = new Thread(run); t.start();
Thread t = new Thread(); x.run();
0
7
8
14
Int a = Math.abs(-5);
Int b = Math.abs(5.0);
Int c = Math.abs(5.5F);
Int d = Math.abs(5L);
Java.util.ArrayList
Java.util.LinkedHashMap
Java.util.HashMap
Java.util.TreeMap
True
False
1,2,4
1,3,6
3,5
5 only
0
1
2
3
A B A
A B A B
B B
A B
True
False
No statement required.
Import java.io.*;
Import java.io.PrintWriter;
#include java.io.*;
New Inner(); //At line 5
New Inner(); //At line 10
New ot.Inner(); //At line 10
New Outer.Inner(); //At line 10
Float[ ] f = new float(3);
Float f2[ ] = new float[ ];
Float[ ]f1 = new float[3];
Float f3[ ] = new float[3];
Constant
Null
Default
Implement
Quiz Review Timeline (Updated): Mar 15, 2016 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Core Java Quiz: Packages And Interfaces In Java
This is a core Java quiz consisting of questions related to packages and interfaces. You can easily solve it and score 100% marks on this test if you consider yourself a hardcore...
Questions:
10 |
Attempts:
860 |
Last updated:
Mar 30, 2023
|
Essentials Of Core Java
Quiz based on must know concepts of Core Java covering almost all essential aspects of programming language.
Make sure you come out with flying colors :)
Passing:...
Questions:
35 |
Attempts:
106 |
Last updated:
Feb 13, 2024
|
Basics Of Core Java
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...
Questions:
50 |
Attempts:
237 |
Last updated:
Mar 22, 2023
|
Core Java MCQ Basics Questions
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...
Questions:
25 |
Attempts:
601 |
Last updated:
Mar 22, 2023
|
|
Core Java MCQ Practice Questions
Java MCQ is one of the commonly used computer-programming tools used by programmers today. If you are a programmer seeking to become better in your line of duty, then this...
Questions:
25 |
Attempts:
478 |
Last updated:
Sep 07, 2023
|
|
Evaluate Your Knowledge Of Core Java
This quiz evaluates your understanding of Core Java, focusing on syntax, programming structures, and key concepts such as static methods and abstract classes. Ideal for learners...
Questions:
5 |
Attempts:
322 |
Last updated:
Oct 04, 2024
|
Wait!
Here's an interesting quiz for you.