SCJP MOCK EXAM-01 MCQ Question Questions and Answers
Practice ModeShowing 10 of 41 questions
Q21
local variables which are declared inside a method ALWAYS:
Answer: Option B
Q22
Select the true statements.
Answer: Option
Q23
Which of the following are valid for declaring and intialising a char variable?
Answer: Option
Q24
What will happen if the main function will declared as:
Answer: Option C
Q25
what will be the output
Answer: Option
Q26
what will be the output
Answer: Option C
Q27
What is the result of attempting to compile and run this
Answer: Option A
Q28
Is this code legal ?
Answer: Option B
Q29
Is this legal
Answer: Option A
Q30
What is the result of attempting to compile and run this code
Answer: Option A