William M. Pegram
Home | Courses | Web Design | Office Software | Client-Side Scripting | Server-Side Scripting | About MeITP 120 Section 001 and 002N - Fall 2007 - Schedule
This schedule will be updated with links to homework exercises as the course progresses and the subject matter and dates of lectures and quizzes may change from that shown below. The most current copy of this schedule can be found on the course web site at www.billpegram.com
Week Class Topics Reading/Homework Due 1st 8 weeks Introduction to Java (sample), Chapter 1 (ppt)
Console Intput and Output (sample), Chapter 2 (ppt)
Flow of Control (sample), Chapter 3 (ppt)
Methods (sample) (craps only)
Assignment 1: Input/Output
Assignment 2: While Loops
Assignment 3: For Loops
Assignment 4: Event HandlingW,Th 10/17-18 Introductions, Course Information M,T 10/22-23
- Review of class and main method structure, use of packages, predefined classes (e.g. String), if, switch, while, and for statements, event programming
- Defining a class - instance variables and methods
- Methods that return a value and those that don't
- local and global variable concept
- Code sample with multiple classes
Chapter 4.1 W,Th 10/24-25
- parameters of a primitive type, call-by-value
- the this parameter
- defining an equals method for a class
- Chapter 4 (ppt) (slides 4.1-4.41)
- Scope code sample
Chapter 4.1 (cont.) M,T 10/29-30
- Information hiding and encapsulation - public and private modifiers; accessor and mutator methods
- overloading
- constructors
- Overloading code sample
- Overload with identical signatures code sample
- Mutator method with constructor code sample
- Calling mutator method code sample
- Attempt to access private class members code sample
- Overloaded constructor code sample
Chapter 4.2, 4.3, and 4.4 W,Th 10/31-11/1
- Using overloaded constructors code sample
- Accessor/mutator code sample
- Call accessor/mutator code sample
- StringTokenizer class
- Chapter 4 (ppt) (slides 4.42-4.62)
M,T 11/5-6
- Static methods & static variables
- Wrapper classes, boxing and unboxing
- Static methods in wrapper classes
- Chapter 5 (ppt) (slides 5.1-5.26)
Chapter 5.1 W,Th 11/7-8
- References and class parameters
- Constant null
- New operator and anonymous objects
- Static import statements
- Chapter 5 (ppt) (slides 5.27-5.56)
Assignment 5: Classes I, Chapter 5.2 M,T 11/12-13
- Instance variables of a class type
- Copy constructors
- Mutable and immutable classes
- Chapter 5 (ppt) (slides 5.57-5.76)
Chapter 5.3 W,Th 11/14-15
- Packages
- javadoc
- Chapter 5 (ppt) (slides 5.77-5.93)
Chapter 5.4 M.T 11/19-20
- length instance variable
- arrays and references
- Chapter 6 (ppt) (slides 6.1-6.36)
Chapter 6.1, 6.2 M,T 11/26-27
- for each loop
- vararg specification
- enumerated types
- multidimensional arrays
- Chapter 6 (ppt) (slides 6.37-6.87)
Chapter 6.3, 6.4 W,Th 11/28-29
- overriding a method definition
- super and this constructors
- Chapter 7 (ppt) (slides 7.1-7.29)
Assignment 6, Chapter 7.1 M,T 12/3-4
- Protected and package access
- the class Object
- Chapter 7 (ppt) (slides 7.30-7.63)
Assignment 7: Arrays, Chapter 7.2-7.3 W,Th 12/5-6
- Polymorphism
- Chapter 8 (ppt)
Chapter 8.1 M,T 12/10-11 TBD Final Exam Final Exam - MW class 12/12 12-1:50PM, TTh class 12/18 10-11:50 Defining Classes I (sample)
Defining Classes II (sample)
Arrays (sample)
Inheritance (sample)
Polymorphism and Abstract Classes (sample)
Swing I (sample)
Applets (sample)Last revised: December 5, 2007