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