[COP 3502] - Final Exam Guide - Ultimate 75 pages long Study Guide!

541 views75 pages

Document Summary

Every java program must have at least one class. By convention, class names start with an uppercase letter. In order to run a class, the class must contain a method named main. A statement represents an action or a sequence of actions. Reserved words or keywords are words that have a specific meaning to the compiler and cannot be used for other purposes in the program. For example, when the complier sees the word class, it understands that the word after class is the name for the class. A pair of braces in a program forms a block. Summer at the beginning of what the program does, key features, supporting data structures, and any unique techniques it uses. Include name, class section, instructor, date, and brief description at the beginning of the program. Capitalize the first letter of each word in the name. Use blank line to separate segments of the code.