This JAVA FUNDAMENTALS TEST assesses knowledge in Java programming, covering string operations, float declarations, character ranges, Java keywords, and reserved words. Ideal for learners aiming to enhance their Java programming skills.
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
The >> operator shifts left and the >>> operator shifts right.
The >> operator shifts right and the >>> operator shifts left.
The >> operator fills the shifted out high order bits based on the sign bit and the >>> operator fills the high order bits with zeros.
The >>> operator fills the shifted out high order bits based on the sign bit and the >>> operator fills the high order bits with zeros.
Rate this question:
(A)
(D)
(A) and (B)
(D) and (E)
None of the above
Rate this question:
Interface
String
Float
Unsigned
Rate this question:
Ok
Dokey
Ok dokey
Compilatioon error
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
++
?:
&&
=
Rate this question:
It is automatically initialized to some garbage value
Shows a run time error
Assigns a null value to the variable
Shows compile time error
Rate this question:
Method
Native
Subclasses
Reference
Array
Rate this question:
True
False
Rate this question:
-128 to 127
-232 to -231
0 to 32767
0 to 65535
Rate this question:
“equal” is printed, “s3 eq s4” is printed.
“equal” is printed only.
“s3 eq s4” is printed only.
Nothing is printed.
Rate this question:
The instanceof operator is a binary operator that determines whether an object reference is an instance of the class, interface, or array type specified by the right operand.
The instanceof operator can be used with primitive types.
The instanceof operator returns a boolean value of true if the left operand references a non-null object of class
The instanceof operator returns false if none of the preceding conditions are met or if the left operand is null.
Rate this question:
Class, if, void, long, Int, continue
Goto, instanceof, native, finally, default, throws
Try, virtual, throw, final, volatile, transient
Strictfp, constant, super, implements, do
Byte, break, assert, switch, include
Rate this question:
C=c+i;
S+=i;
I+=s;
C+=s;
Rate this question:
1,2,4
1,3,6
2,3,4
2,5,6
Rate this question:
Public
Private
Transient
Friendly
Vagrant
Rate this question:
True
False
Rate this question:
-2147483648 and 1
0x80000000 and 0x00000001
-2147483648 and -1
1 and -2147483648
Rate this question:
Cannot be initialized before invoking any constructor
Accessible anywhere in the class
Static variables are initialized at class load time
Cannot have the same name as the class
Rate this question:
14
0
6
12
Rate this question:
2variable
Variable2
_whatavariable
_3_
$anothervar
#myvar
Rate this question:
-2
2.0
-3
-3.0
Rate this question:
Byte
Char
Boolean
Float
Double
Rate this question:
Char c1 = 064770;
Char c2 = 'face';
Char c3 = 0xbeef;
Char c4 = \u0022;
Char c5 = '\iface';
Char c6 = '\uface';
Rate this question:
String result = d + i;
Double result = i / j;
Int result = l * d;
String result = s + l; Continue to next questionSubmit Quiz Which of the f... Given the fo...The character pair ?...Default value of the...Extended assignment ...Which of the followi...Which of the followi...If you try to access...When you convert a d...Choose which is not ...Choose the options t...Choose the operation...Which three are vali...What is the numerica...Which one of these l...Which is a valid key...Which is a reserved ...Which three are vali...What will be the out...String is a primitiv...The operations y >... ...The expression (y &g...Which statements abo...What is the differen...null is a keyword in...Which of the followi...What will be output ...What will be output ...
J=i< Continue to next questionSubmit Quiz Which of the f... Given the fo...The character pair ?...Default value of the...Extended assignment ...Which of the followi...Which of the followi...If you try to access...When you convert a d...Choose which is not ...Choose the options t...Choose the operation...Which three are vali...What is the numerica...Which one of these l...Which is a valid key...Which is a reserved ...Which three are vali...What will be the out...String is a primitiv...The operations y >... ...The expression (y &g...Which statements abo...What is the differen...null is a keyword in...Which of the followi...What will be output ...What will be output ...
J=i< Continue to next questionSubmit Quiz Which of the f... Given the fo...The character pair ?...Default value of the...Extended assignment ...Which of the followi...Which of the followi...If you try to access...When you convert a d...Choose which is not ...Choose the options t...Choose the operation...Which three are vali...What is the numerica...Which one of these l...Which is a valid key...Which is a reserved ...Which three are vali...What will be the out...String is a primitiv...The operations y >... ...The expression (y &g...Which statements abo...What is the differen...null is a keyword in...Which of the followi...What will be output ...What will be output ...
Rate this question:
Quiz Review Timeline (Updated): Jan 12, 2025 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Informatics Practice Quiz: Exam!
The Informatics Practice Quiz: Exam assesses knowledge in Java programming, focusing on swing controls, operators, loops, and switch-case statements. It is designed to test...
Questions:
10 |
Attempts:
453 |
Last updated:
Mar 19, 2023
|
Java Online Quiz 2
Java Online Quiz 2 assesses knowledge on Java programming basics including data types, variable declarations, and initialization. It is designed for learners to validate their...
Questions:
10 |
Attempts:
422 |
Last updated:
Mar 21, 2023
|
Java Programming Quiz
An interesting Java programming quiz is here for you if you use Java programming or are learning this language. The quiz is not going to be easy in any way. The questions designed...
Questions:
15 |
Attempts:
4778 |
Last updated:
Jul 03, 2023
|
Java Quiz-1
Java Quiz-1 assesses foundational Java programming skills through multiple-choice questions. Topics include constructor behaviors, method definitions, and class hierarchies. Ideal...
Questions:
100 |
Attempts:
5440 |
Last updated:
Sep 18, 2023
|
|
Java Quiz: Test Your GK! Trivia
This Java Quiz tests general knowledge in Java programming, covering topics like data types, access modifiers, OOP concepts, and applets. It assesses key skills for understanding...
Questions:
10 |
Attempts:
1007 |
Last updated:
Mar 22, 2023
|
Can You Answer These Java Programming Questions? Trivia Quiz
Can you answer these java programming questions? There are a lot of people who think that they can never fail any question they are asked when it comes to java programming, and to...
Questions:
10 |
Attempts:
541 |
Last updated:
Mar 22, 2023
|
Wait!
Here's an interesting quiz for you.