ITM 200 Chapter 3: Chapter 3

69 views7 pages

Document Summary

Other kinds of java comments: another type of comment starts with /*" and ends with */ , this kind of comment can spread over 2 or more lines for detailed notes. Importing (reusing) code from other files: the line import javax. swing. joptionpane; is an import statement. this represents the main algorithm of the program. Command line output: program instructions are called statements, to make output move to a new line, you must include in the string the escape sequence. this declares a variable called age, of type int (integer) this is a box into which you are allowed to place integers (whole numbers: char letter; this declares a variable called letter, of type char (character) this is a box into which you are allowed to place characters: double distance; this declares a variable called distance, of type double.

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