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. Java works on different platforms such as Windows, Mac, Linux, and Raspberry Pi. It is relatively easy to learn and simple to use. This quiz is See morethe most challenging core Java quiz, but you can do it. Go for it.
False 568 567 true
True 567 566 false
True 567 568 false
False 567 568 true
Rate this question:
True
False
Rate this question:
Int double long int
Long int double int
Double int int long
Int int long double
Rate this question:
Long and Integer
Integer
Long
None of the above
Rate this question:
0
5
Returns garbage value
Compiler error
Rate this question:
False false
True true
False true
True false
Rate this question:
Not equal
Equal
Compile time error at line 3
Compile time error at line 5
Rate this question:
1
Compile time error at line no 2.
Print nothing
Compile time error at line no 6.
Rate this question:
Primitive Wrapper
Wrapper
Primitive
Wrapper Primitive
Rate this question:
Int a = 3;
Short a = 4;
Char a = 'p';
Long a= 388;
Boolean a = true;
1
4
6
8
Rate this question:
An Exception is raised during compilation
An Exception is thrown at run time
Unresolved compilation problem
A=2 or a=1 or i >2.5 Value of i =null
Rate this question:
Above program will throw exception & will not run
Inside check() method of class
Inside check() method of Subclass
Rate this question:
for( int a = 0 ; a< sum.length ; )
For( a= 0 ; a< sum.length ; )
For( a = 0 ; a< sum.length ; a++ )
for( a = 1 ; i
Rate this question:
Private and protected
Public and protected
Protected
Default(blank)
Rate this question:
A='A' output=1.
Compile error.
A='X' output=0.
A='D' output=0.
Rate this question:
5
Compile error
5 4
5 4 3
Rate this question:
Compile error
30 29,.....untill 1
1 2 3.....untill 30
No output
Rate this question:
5 8
5
8
Compile error
Rate this question:
1
2
4
The program compilation fails because of line number 5.
Rate this question:
1
2
4
The program compilation fails because of line number 6.
Rate this question:
i = 2 j = 1
i = 1 j = 2
i = 2 j = 2
The program compilation fails because of line number 6.
Rate this question:
1
2
4
The program compilation fails because of line number 6.
Rate this question:
The program compilation fails because of line number 3.
1
3
The program compilation fails because of line number 5.
Rate this question:
1
2
0
4
Rate this question:
1
0
4
The program compilation fails because of line number 2.
Rate this question:
1 2 3
1 1 2
Repeatedly print 123 and cause infinite loop.
The program compilation fails because of line number 2.
Rate this question:
10
14
13
11
Rate this question:
7
8
8 9 10
Compilation error at line no-4.
Rate this question:
100 200
Compilation error at line no-6.
Compilation error at line no-9.
Compilation error at line no-11.
Rate this question:
Start
End
Start end
Compilation error at line no-7.
Rate this question:
Hello
Hello Hi
Runtime exception.
Compilation error at line no-4.
Rate this question:
True
False
Rate this question:
It compiles and runs fine
It shows compile error
On run time it will show error
Nothing will happen
Rate this question:
If (trueInt)
If (trueInt == true)
If (1)
If (falseInt == false)
If (trueInt == 1)
If (falseInt == 0)
Rate this question:
True
False
Rate this question:
Runs fine
Shows compile time error
Shows run time error
None of the above
Rate this question:
While (x) { }
While (x = 5) { }
While (x == 5) { }
While (true) { }
Rate this question:
For(x2 : la) ;
For(int x2 : twoDee) ;
For(int x3 : la) ;
For(Dog d : animals) ;
None of the above
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.