![]() |
Lesson Plan |
| IMOS Home | Student Center | TallTech Home |
February 19, 2000Details
Reading / References
|
Review compiling & running
Review of comments, class names
Variables
Methods with no arguments
Methods that require a single argument
Methods that require multiple arguments
Methods that return values
Class names (pg 9)
Comments (pg 14)
Primative types (pg 25)
Declaring variables
Integer types (pg 27)
print / println
arithmetic statements (pg 30)
boolean (pg 33)
floating point (pg 34 - 35)
numeric type conversion (pg 35 - 36)
char data type (pg 37)
Basic elements of a method (pg 48)
Access modifiers (pg 48)
Create a basic output method - no args, no return - sample is output (pg 48-50)
Create a basic method with one argument (pg 53-55)
Create a basic method with multiple arguments (pg 56)
Create a method that returns values (pg 57-58)
EXAMPLES:
Weight converter - 2.2 lbs/kg
Length converter - 2.54 cm/inch
Currency converter - pass in ratio
Area calculator - pass in length/width