Which of the following statement(s) is/are correct regarding java programming?…
PYQ DSSSB 2021
Which of the following statement(s) is/are correct regarding java programming?
I. Place a semicolon immediately after a method header
II. Define a method outside the braces of a class definition
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 1051 students.
Sign up free to check your answer
Sign up freeLoading lesson…

