Difference between revisions of "Patrick Thai"
Line 4: | Line 4: | ||
== '''Goals''' == | == '''Goals''' == | ||
==== Complete Variables and Expressions Section ==== | ==== Complete Variables and Expressions Section ==== | ||
− | + | Numbers and variables are able to be stored inside letters. a = 1 | |
+ | The double code can be used to store numbers such as 10.5. double a; a = 10.5; | ||
+ | a = (int)10.5 the result will be 10. | ||
+ | E is used to show scientific notation. 5 x 10⁶ = 5E6 | ||
+ | j++; = add j to the current value and then assign the new value to j. | ||
+ | Strings used similar to other programming languages. String s; string s = ḧello world | ||
+ | the length is the length of the string. use of / for escape characters. | ||
+ | System.out.println is a method that takes a single argument. When that argument is a string, then the contents of the string are displayed. | ||
+ | Going through boolean and arrays. Assign values with arrays. Everything can go together and can be combined. | ||
==== Complete Program Control Section ==== | ==== Complete Program Control Section ==== | ||
Revision as of 12:45, 6 October 2009
Contents
- 1 Project
- 2 Goals
- 2.1 Complete Variables and Expressions Section
- 2.2 Complete Program Control Section
- 2.3 Complete Method Section
- 2.4 Complete Object Oriented Concepts Section
- 2.5 Simple Objects Section
- 2.6 Inheritance and Polymorphism Section
- 2.7 Class Definitions Revisited
- 2.8 Abstractions Section
- 2.9 Algorithms (intro)
- 2.10 Searching and Sorting
- 2.11 Program Analysis
- 3 References
Project
Create a 2D game engine that is fully functional using Java
Goals
Complete Variables and Expressions Section
Numbers and variables are able to be stored inside letters. a = 1 The double code can be used to store numbers such as 10.5. double a; a = 10.5; a = (int)10.5 the result will be 10. E is used to show scientific notation. 5 x 10⁶ = 5E6 j++; = add j to the current value and then assign the new value to j. Strings used similar to other programming languages. String s; string s = ḧello world the length is the length of the string. use of / for escape characters. System.out.println is a method that takes a single argument. When that argument is a string, then the contents of the string are displayed. Going through boolean and arrays. Assign values with arrays. Everything can go together and can be combined.