Home / Programming Questions / JAVA MCQs / Page 255

JAVA MCQs with answers Page - 255

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

Code:
String s1 = “Hello”;
String s2 = “Hello”;
System.out.println(s1 == s2);
(A) True
(B) False
(C) Error
(D) None of these

Code:
String s1 = “Hello”;
System.out.println(sA)toLowerCase());
(A) hello
(B) Hello
(C) HELLO
(D) Error

(A) Microsoft
(B) Mozilla Corporation
(C) Sun Microsystems
(D) Amazon Inc.

(A) Eclipse
(B) OAK
(C) Netbean
(D) None

(A) James Gosling
(B) Larry Page
(C) Bjarne Stroustrup
(D) None of these

(A) because the language was unsuccessful , so they created another version and changed its name to java.
(B) because the name was not relevant to the language they created
(C) because there was another language called Oak
(D) None of these

(A) 25-05-1995
(B) 27-05-1995
(C) 29-05-1995
(D) 28-05-1995

(A) Internet development
(B) Search Engine Development
(C) Desktop Development
(D) Operating System Development

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.