ITP 109x Chapter 1: Introduction (Revised)
Document Summary
Computer program holds all the instructions that a computer can execute. Code the blueprints behind a program represented in a textual form. Method consists of a list of statements programs normally being with a method called main (the method that is called that runs the main program) { & } in which statements are placed i. e. delimits (surrounds) statements. Statement a program instruction; many statements make up a program ends with a semi-colon ; . Memory consists of many individual locations, with each location storing a value named locations in memory are called variables print prints program output println prints a programs output, followed by a new line. Compiler converts a program into low-level machine instructions (0s and 1s) System. out. print ( desired text ) or system. out. println ( desired text ) prints text. String literal text in double quotes combines text and variables. \n newline character prints each object on its own output line.