CSC148 Ramp-up workshops – Spring 2006
Session 1 – Saturday January 14th 2006
·
Primitive data
types
o
declaring and
initializing variables
·
Defining your own type: Classes
o
class
declaration, instantiation
o
components of a class
(methods, variables)
o
public, private
modifiers
o
method
overloading
o wrapper classes
· Commenting and Javadoc
·
Instance vs.
Static Data and Methods
·
main method
· Java memory model (representation, stack frame, static space, heap space)
·
String class and
String operations
o == vs .equals
· Math class and function calls
Session 2 – Saturday January 21st 2006
·
Loops
·
Conditional
statement
·
Input/Output
o
Keyboard I/O
o
File I/O
·
Arrays
o
1D
o
2D
o
Memory
representation
·
Inheritance
o
abstract ,
extends
o
overriding, super
o typecasting
·
Testing with JUnit