COMP SCI 302 Lecture Notes - Lecture 2: Concatenation, String Literal, Polskie Radio Program I

26 views2 pages

Document Summary

Compiler: humans type java, compiler collects java and translates it into binary, binary is read by computer to execute commands. Memory - designated with a letter i j. Assignment - the = in code. Evaluate higher order operator (+ , - , * , / ) before assignment operator. Assignment means retrieve value on right and assign to value on left. Use java visualizer to test and consider how code is interpreted. Go through a step at a time ( sequence) to ensure things go smoothly. Choose separate folder for code and source in project layout. File, new, class - container for code. Output 1 is within src, within project week1am . Eclipse compiler checks syntax live to indicate any errors in code. Conventions are important to instructor and for professionality - doesn"t matter to compiler. Variables begin with lowercase letter with subsequent words beginning in upper case. This method of naming called camel casing .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents