Illustrate the two ways to provide comments in a Java program by writing the following as comments.
Question:
Illustrate the two ways to provide comments in a Java program by writing the following as comments. Use a different comment format for each of the two sentences. This is a relatively long sentence that, if embedded in a Java program, would confuse the Java compiler and cause an error to be generated unless, of course, it was commented out.
This is a relatively short sentence.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introduction To Programming With Java A Problem Solving Approach
ISBN: 9781260575248
3rd International Edition
Authors: John Dean
Question Posted: