What is the result of the following?public static void main(String[] args)

Choice:
a)compilation error
b)runtime errror
Or
what is the result?

Showing Answers 1 - 2 of 2 Answers

vegetto

  • Jun 16th, 2008
 

it will result in a compilation error because first thing is that you have not written method body ,else if you don't want to write method body then declare it abstract and terminate it using semi colon.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions