Winter  99 CPSC 101 Computing and Algorithms I EXAMPLES USED IN LECTURES   Exampe1: First Java Program

Example2: Type Mismatch Errors

Example3: Arithmetic Promotion

Example4: Type Casting

Example5:  Using Println

Example6: Using ReadUtility

Example7: Expression Evaluation

Example8:  if-then-else and  switch

Example9: while loop examples

Example10: Methods and parameters

Example11: More Methods

Example11a: Designing Methods

Example12 : More on Parameters

Example13 : Much More on Parameters

Example14 : Much Much More On Parameters

Example15 : The correct usage of Parameters

Example16 : Global Variables

Example17: Class and Object
 
Example18: Using the String Class

Example19: Constructors
 
Example 20: CircleRectangle Utility

Example 21: Scope and  Lifetime

Example 22: Static Variables and Methods

Example 23:Passing objects as parameters