This Core Java Quiz assesses knowledge of Java programming fundamentals, including constructors, data types, operators, and control structures. It is designed for learners to test their understanding of core Java concepts, enhancing their coding skills and preparation for software development roles.
True
False
Rate this question:
The number of bytes is compiler dependent.
2
4
8
64
None of the above
Rate this question:
&& operator is used for short-circuited logical AND.
~ operator is the bit-wise XOR operator.
| operator is used to perform bitwise OR and also short-circuited logical OR.
The unsigned right shift operator in Java is >>.
Rate this question:
Static
Final
Abstract
Native
Volatile
Transient
Rate this question:
S = 2 * s;
Int i = s[0];
S = s + s;
S = s >> 2;
None of the above.
Rate this question:
Void m() throws IOException{}
Void m() throw IOException{}
Void m(void) throws IOException{}
M() throws IOException{}
Void m() {} throws IOException
All of the above
None of the above
Rate this question:
0
1
2
The program does not compile.
None of the above
Rate this question:
0
1
2
3
None of the above
Rate this question:
By invoking the free method on the object.
By calling system.gc() method.
By setting all references to the object to new values (say null).
Garbage collection cannot be forced. The programmer cannot force the JVM to free the memory used by an object.
All of the above
None of the above
Rate this question:
4
5
6
7
9
None of the above
Rate this question:
0
1
2
3
A, b
B, c
C, d
A, b, c, d
None of the above
Rate this question:
T = (boolean) i;
F = d;
D = i;
F = 2.8;
All of the above
None of the above
Rate this question:
Int[] []x[];
Int *x;
Int x[5];
Int[] x = new int[];
None of the above
Rate this question:
Test();
Super.test();
Super.super.test();
::test();
C.test();
It is not possible to invoke test() method defined in C from a method in A.
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
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
|
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
|
The Ultimate Java Test For Beginners
This is the ultimate Java test for all those Java developer-wannabes who have just began practicing the programming language. It consists of over 93 questions of basically Core...
Questions:
93 |
Attempts:
32731 |
Last updated:
Mar 21, 2025
|
Core Java Hardest Test: Trivia Quiz!
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...
Questions:
40 |
Attempts:
148 |
Last updated:
Mar 21, 2023
|
CORE JAVA MOCK TEST-3
INTRODUCTION TO OOPS
INTRODUCTION TO JAVA AND SDE
LANGUAGE FUNDAMENTALS AND OPERATORS
Questions:
45 |
Attempts:
683 |
Last updated:
Sep 05, 2023
|
|
Wait!
Here's an interesting quiz for you.