JAVA Programming MCQ Questions Answers Download PDF


11) Which of the following operator don’t always evaluate all their operator?

a) &&

b) &

c) ?:

d) I I

View Answer
Option – a,c,d)


12) How much of storage does a character (represented in Unicode) need?

a) 1 byte

b) 4 byte

c) 3 byte

d) 2 byte

View Answer
Option – d)


13) Which of the following access specifiers is usually used with used with inheritance?

a) public

b) private

c) protected

d) package

View Answer
Option – c)


14) Which of the following operators act only integer operator?

a) <<

b) >>>

c) & (bitwise AND)

d) No such operator exists in Java.

View Answer
Option – a,b,c)


15) Which of the following keywords is used to declare exceptions that can possibly occur?

a) handle

b) throws

c) checked

d) manage

View Answer
Option – b)


16) Which of the following packages needs to be important to use the StringTokenizer class

a) java.io

b) java.util

c) java.lang

d) java.net

View Answer
Option – b)

For those of you who are looking for Java Programming MCQ Question Answer PDF, we have answered all kinds of Java Programming Important Questions here.