Home / Programming Questions / JAVA MCQs / Page 264

JAVA MCQs with answers Page - 264

Dear candidates you will find MCQ questions of JAVA here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

M

Mr. Dubey • 51.17K Points
Coach

Q. The method used to set Fonts is

(A) setFontName()
(B) setFont()
(C) setFontText()
(D) none of these

M

Mr. Dubey • 51.17K Points
Coach

Q. A method can be called only on its ___________.

(A) variable.
(B) object.
(C) method.
(D) delay.

M

Mr. Dubey • 51.17K Points
Coach

Q. Constructor will have the same name as ______________.

(A) class.
(B) function.
(C) file.
(D) package.

M

Mr. Dubey • 51.17K Points
Coach

Q. _________ Keyword is used to invoke the current object.

(A) NEW
(B) THAT
(C) THIS
(D) ME

M

Mr. Dubey • 51.17K Points
Coach

Q. ___________ is a collection of classes.

(A) package.
(B) variable.
(C) class.
(D) exception.

M

Mr. Dubey • 51.17K Points
Coach

Q. ___________ value cannot be updated.

(A) end.
(B) final.
(C) static.
(D) view.

M

Mr. Dubey • 51.17K Points
Coach

Q. Inheritance allows _______ of sub classes.

(A) creation.
(B) updation.
(C) view.
(D) display.

M

Mr. Dubey • 51.17K Points
Coach

Q. ______ is a keyword.

(A) static.
(B) display.
(C) view.
(D) maintain.

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.