ITM 200 Lecture Notes - Dollar Sign, Double-Precision Floating-Point Format, Reserved Word

74 views5 pages

Document Summary

Comments are pieces of text that are ignored by the complier; they are usually included by the author of a program for 2 reasons: Provide useful notes of explanations for a human reading the program. Prevent statements from being executed maybe during lazy debugging or program development. Comments begin with // , which tell the complier that all text from this point until the end of the line is to be ignored when translating the java program into byte code. As far as the complier is concerned, comments have no useful function. Comments are included in order to explain the program to a human reader and well chosen comments are an important part of every program. You should always place a comment at the start of the program to state; An outline of how it carries out its task. Anything else which might help a reader to understand the program.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions