1. Engineering
  2. Computer Science
  3. question 1 if a 10line java program has a syntax...

Question: question 1 if a 10line java program has a syntax...

Question details

QUESTION 1 If a 10-line Java program has a syntax error on line 5, o the first 4 lines will compile and run correctly. O the program will not compile at all. O the first 4 lines will compile correctly, but the program will not run. the computer will crash. QUESTION 2 What is the role of a comment in a Java program? The compiler uses these comments to check whether the programmer ha They provide useful information to the compiler to check on data types a They provide valuable information to a human reading the program. They are completely unimportant.
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution