Difference between revisions of "Patrick Thai"
Line 3: | Line 3: | ||
== '''Goals''' == | == '''Goals''' == | ||
− | + | *Complete Variables and Expressions Section | |
Numbers and variables are able to be stored inside letters. a = 1 | Numbers and variables are able to be stored inside letters. a = 1 | ||
Revision as of 11:47, 19 October 2009
Contents
- 1 Project
- 2 Goals
- 2.1 Complete Program Control Section
- 2.2 Complete Method Section
- 2.3 Complete Object Oriented Concepts Section
- 2.4 Simple Objects Section
- 2.5 Inheritance and Polymorphism Section
- 2.6 Class Definitions Revisited
- 2.7 Abstractions Section
- 2.8 Algorithms (intro)
- 2.9 Searching and Sorting
- 2.10 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.
Complete Program Control Section
the use of if and else