EX 1.1. Give examples of the two types of Java comments and explain the differences between them.

What will be an ideal response?

One kind of comment begins with a double slash (//) and continues to the end of the line. A second kind of comment begins following an initiating slash-asterisk (/*) and terminates immediately preceding a terminating asterisk-slash (*/). The second type of comment can span multiple lines.

Computer Science & Information Technology

You might also like to view...

A(n) ________ letter is written in response to a job posted for a job position that exists

A) direct B) solicited C) unsolicited D) indirect

Computer Science & Information Technology

The array based representation of a binary tree requires a complete binary tree.

What will be an ideal response?

Computer Science & Information Technology