ChemistryWiki | RecentChanges | Preferences
- Comments
- // comment for one line
- <nowiki>*/ /* comment for more than a line
Java is case sensitive
- { and } indicate the beginning and ending of the class called a block
- Method is a section of a class that performs a task (i.e. code to do something or execute it)
- Line up by indenting your { and } the same. other classes you indent differently to separate the classes
- Java dictates that all statements are terminated with a semicolon
- Chapter 3
- A variable must be declared (int, double) before it can be used.