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

1
Neither I nor II
2
Only I
3
Both I and II
4
Only II

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation