Java Interview Questions on Datat ypes - 8
Question: 1
(A) 10
(B) 11
(C) 12
(D) Compilation Error
Level: Expert Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 2
(A) byte
(B) short
(C) long
(D) class
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 3
(A) 1
(B) 2
(C) 3
(D) 0
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 4
(A) 'a'
(B) a
(C) 65
(D) 97
Level: Practitioner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 5
(A) 10
(B) 0
(C) Error in Code
(D) Nothing is printed
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 6
(A) [7,1,5]
(B) [7,5,1]
(C) [7, 1, 5, 1]
(D) None of the above
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 7
(A) Pen Pencil Box
(B) Pen Pencil
(C) Box
(D) Compilation Error
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]
Question: 8
(A) 0
(B) Garbage Value
(C) Compiler Error
(D) Runtime Error
Level: Beginner Category: datatype
[Posted by: Jagroop Singh | India]