CS 106A Lecture Notes - Lecture 2: Texas State Highway Loop 1, Operating System
Document Summary
Lecture notes data concurrency: standard java, not using acm libraries b. Starts with main method: declare main method. New objectofthistype. start(args): 1st line analysis, static means does not have object associated with it b. i. For example: turning string 12 into an integer, no object involved. Method that exists as part of class but no object associated with it: so for main, no objects exist in the world yet c. i. Static allows method to be called anyways: here there is an array of strings called args e. Args ? e. i. e. ii. e. iii. e. iv. this is way operating system would send commands to your program. New namesurfer. start(args): the runnable interface, collection of methods you need a. i. Program will implement runnable interface: all programs in acm library implement runnable interface b. i. All graphics, console: why do we need to know this, know that it all starts at the main method a. i.