Java Reference
In-Depth Information
17.
The keyword void is missing on line 2.
The word string should be capitalized on line 2.
A closing " mark is missing on line 4.
A closing } brace is missing on line 5.
18. •A { brace is missing on line 1.
• The word args is missing on line 2.
• The comment on lines 8-10 accidentally comments out lines 9-10 of the
program. Using // comments would fix the problem.
A closing ) is missing on line 11.
19. This is message1.
This is message2.
This is message1.
Done with message2.
Done with main.
20. Inside first method
Inside third method
Inside first method
Inside second method
Inside first method
Inside second method
Inside first method
Inside third method
Inside first method
Inside second method
Inside first method
21. Inside first method
Inside first method
Inside second method
Inside first method
Inside third method
Inside second method
Inside first method
Inside first method
Inside second method
Inside first method
Inside third method
22. Inside second method
Inside first method
Inside first method
Inside second method
Inside first method
Search WWH ::




Custom Search