WorksheetsExploring java.lang & java.io-7
Total questions: 184
Worksheet time: 2hrs 32mins
What will be the output of the following Java code?
0
1
True
False
What will be the output of the following Java code? https://gyazo.com/0120c13ade136806bc2901249739bd4b
0
1
True
False
What will be the output of the following Java code?
1001
10011
11011
10001
What will be the output of the following Java program?
true false true
false true true
true true false
false false false
What will be the output of the following Java program?
0
1
256
257
What will be the output of the following Java program?
0
1
257
257
What will be the output of the following Java program?
256
256
256
257
What will be the output of the following Java code?
0
1
1000
System Dependent
What will be the output of the following Java code?
ABCDEF ABCDEF
ABCDEF GHIJKL
GHIJKL ABCDEF
GHIJKL GHIJKL
What will be the output of the following Java code?
ABCDEF GHIJKL
ABCDEF GCDEFL
GHIJKL ABCDEF
GCDEFL GHIJKL
What will be the output of the following Java code?
ABCDEF GHIJKL
ABCDEF GCDEFL
GHIJKL ABCDEF
GCDEFL GHIJKL
What is the value of “d” in the following Java code snippet?
2
3
4
2.5
What will be the output of the following Java program?
0
3
3
3.1
What will be the output of the following Java program?
True
flase
3.1
4.5
What will be the output of the following Java program?
2
4
8
9
What will be the output of the following Java program?
0
1
1000
System Dependent
What will be the output of the following Java program?
ABCDEF ABCDEF
ABCDEF GHIJKL
GHIJKL ABCDEF
GHIJKL GHIJKL
What will be the output of the following Java program?
ABCDEF ABCDEF
ABCDEF GHIJKL
ABCDEF GHIABC
GHIJKL GHIJKL
What will be the output of the following Java program?
ABCDEF ABCDEF
ABCDEF GHIJKL
ABCDEF GHIABC
ABCDEF GHICDL
What will be the output of the following Java program?
0
1
4
5
What will be the output of the following Java code?
True
false
1
0
What will be the output of the following Java code?
0
1
256
257
What will be the output of the following Java code?
0
257
257.57812
257.578123456789
What will be the output of the following Java code?
0
1
Exception
None of the mentioned
What will be the output of the following Java code?
java
system
java/system
/java/system
What will be the output of the following Java program? https://gyazo.com/e35295583fda3bf6996cd14384109fe4
java
system
java/system
/java/system
What will be the output of the following Java program?
true false
false true
true true
false false
What will be the output of the following Java program?
java true
java false
\java false
\java true
What will be the output of the following Java program?
True
False
prints number of bytes in file
prints number of characters in the file
What will be the output of the following Java program?
abc
ABC
ab
AB
What will be the output of the following Java program?
abc
ABC
ab
AB
What will be the output of the following Java program?https://gyazo.com/f903e364362af652ffe1cefd31e9bfbb
AaBaCa
ABCaaa
AaaBaaCaa
) AaBaaCaaa
What will be the output of the following Java program?https://gyazo.com/c9a811f9d4a37805cbd7e91253fc5744
abc
abcd
abcde
abcdef
What will be the output of the following Java program?https://gyazo.com/db8bcd4da712ec961f2eb008beafadb7
abc
abcd
abcde
abcdef
What will be the output of the following Java program?https://gyazo.com/2dd376d924b90c01a1ec7653bb047f07
abc
abcd
abcde
none of the mentioned
What will be the output of the following Java program?https://gyazo.com/c8922de79a7e6b94a16ca8c9836f6214
12345
123450
1234500
Compilation Error
What will be the output of the following Java program?https://gyazo.com/94914c8122922b3116ddccac396e3c60
12345
12345A
12345B
Compilation Error
What will be the output of the following Java program?https://gyazo.com/ec2bc07dde1343bbf9016d34cca6a0b4
A
0
0A
Exception
What will be the output of the following Java program?https://gyazo.com/c37bd0cdbc8253eec3d5f776d16b622a
A
B
AB
BA
What will be the output of the following Java program? https://gyazo.com/eb688dab8e9542dc2ae57806c4ee67a9
TypeA
TypeB
0TypeA
0TypeB
What will be the output of the following Java code?https://gyazo.com/1d8ca4cbbba5e3d7f93711e463c51a84
1 2 0 0
1 2 1 2
0 0 0 0
System Dependent
What will be the output of the following Java code? https://gyazo.com/94a1764582a2be26c585b77860486aa5
0
3
3
3.1
What will be the output of the following Java code?https://gyazo.com/fe135a025c50a2896899adf9f268d31c
0
3
3
4
What will be the output of the following Java code?https://gyazo.com/ff1e5167c03bebab2e92acc90a453e03
0
3
3
4
What will be the output of the following Java code?https://gyazo.com/d92c429a31a3e8ab0c725fa2997a1ccc
0
1.7976931348623157E308
1.79769313486231e+30
None of the mentioned
What will be the output of the following Java program?https://gyazo.com/836951562de3433ae316384f1e1fd62d
0
4.9E-324
1.7976931348623157E308
None of the mentioned
What will be the output of the following Java program?https://gyazo.com/94c3a90876a8dfeb17a51bf50f7ee6e7
0
257
257.57812
257.578123456789
What will be the output of the following Java program?https://gyazo.com/657bad99d6815dfff8bc9313e7eea86e
<
>
?
$
What will be the output of the following Java program?https://gyazo.com/82704bac564956db7bd2d8918a698fbd
<
!
@
space
What will be the output of the following Java program?https://gyazo.com/96cadda2ba9440117c1c8d0673e3cd67
true false true
false true true
true true false
false false false
What will be the output of the following Java program?https://gyazo.com/48664df7a3714f79e7a1f9aac2fa9ed3
b
c
B
C
What will be the output of the following Java program?https://gyazo.com/5b85d96596050eacc4d715526b78e516
True
False
@
B
What will be the output of the following Java program?https://gyazo.com/02adf15bc80c375211398dbe27e6a1de
True
False
Compilation Error
Runtime Error
What will be the output of the following Java program?https://gyazo.com/105c0f762fd1990d7f83c40d70ca5db1
True
False
Compilation Error
Runtime Error
What will be the output of the following Java program?https://gyazo.com/79dc4de571bfc95e1147d8b3123b6032
True
False
Compilation Error
Runtime Error
What will be the output of the following Java program?https://gyazo.com/4125d44335503592cd0c865964a84336
True
False
System Dependent
Compilation Error
What will be the output of the following Java program?https://gyazo.com/1123973ceacd58429f93a397fabd833e
0
179
180
360
What will be the output of the following Java program?https://gyazo.com/73778bb805cf60b15c4194b1d1169a2a
0
3
3
3.1
What will be the output of the following Java program?https://gyazo.com/a3ab85000ca764edc33b69a6be480b9f
0
1
2
3
Will this Java program generate same output is executed again?https://gyazo.com/696372ee04bbc8959eb2b6f94cf47b53
Yes
No
Compiler Dependent
Operating System Dependent
What will be the output of the following Java program?https://gyazo.com/5274e217b8f752ca1b97eba2d71588c2
X
Y
class X
class Y
What will be the output of the following Java program?https://gyazo.com/3a1eddd4e03a4ce7dc07956a0aeaaade
0
1
True
false
What will be the output of the following Java program?https://gyazo.com/3d070cfa79f41e51d3d70a0b7fba3279
X
Y
a
b
What will be the output of the following Java program?https://gyazo.com/f2bde67e97f1da164763e94b19001a34
X
Y
class X
class Y
What will be the output of the following Java program?https://gyazo.com/47276d2e1182d8a3cf7c941c1daed941
0
1
True
False
What will be the output of the following Java program?https://gyazo.com/f40aba6e9aa0a97f3f4164093f188e7e
True
False
truetrue
falsefalse
What will be the output of the following Java program?https://gyazo.com/6a4488a2aea7c2f4828fdc4c31dd13d9
Thread[New Thread,0,main]
Thread[New Thread,1,main]
Thread[New Thread,5,main]
Thread[New Thread,10,main]
What will be the output of the following Java program?https://gyazo.com/7327a768259f066174abac0674607e84
My Thread
Thread[My Thread,5,main]
Compilation Error
Runtime Error
What will be the output of the following Java program?https://gyazo.com/26e6b9593ce654563d7eb6770936469e
My Thread
Thread[My Thread,5,main]
Compilation Error
Runtime Error
What will be the output of the following Java program?https://gyazo.com/0df8a13e5ced262d28cd33e2bf20a28a
My Thread
Thread[My Thread,5,main]
Compilation Error
Runtime Error
What will be the output of the following Java code?
0
1
True
False
