Write a line comment and block comment for the following line of code identifying the author, date, and purpose of the method. In addition, explain the difference between comments that consist of a double-slash (//) and those that have a starting and ending slash asterisk (/* .. */).
?
System.out.println("Hello Students");

What will be an ideal response?

Possible comments include:?// Written by // Written on /* The println method will output "Hello Students" */// - used for line comments/* - used for block comments */

Computer Science & Information Technology

You might also like to view...

In a virtual community, you can communicate with other people by using a(n) ________

A) captcha B) profile C) alias D) avatar

Computer Science & Information Technology

The duration of an animation is controlled in the ______________ panel.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology