CMP 326 Programming Methods II
Syllabus and Information


Textbook: Y. Daniel Liang, Introduction to Java Programming (Sixth Edition), Pearson/Prentice Hall, ISBN: 0-13-222158-6
The syllabus below is approximate as to length of time spent on individual topics. All topics listed will be covered. Exams are not shown in the syllabus.

 

Week

 

Lecture

 

Chapter

 

Topics

 

1
Review 1-8 Use String, StringBuffer, and other examples of pre-defined Java classes.

 

2
Inheritance and Polymorphism 9 Extending classes, subclasses, super, protected, final, abstract, polymorphism, dynamic binding, casting objects, the Object class.

 

3
Abstract Classes and Interfaces 9, 10 Extending classes, subclasses, super, protected, final, abstract, polymorphism, dynamic binding, casting objects, the Object class; Design of classes, wrapper classes, examples of complex class design.

 

4
Object-Oriented Software Development 10, 11 Design of classes, wrapper classes, examples of complex class design.

 

5
GUI Programming 12 Swing components, frames, panels, layout managers, etc.

 

6
GUI Programming (cont.) 12 Swing components, frames, panels, layout managers, etc.

 

7
Graphics 13 Graphics class, drawing, fonts.

 

8
Events 14 Events, listeners, inner classes, event handling.

 

9
User Interfaces 15 Buttons, labels, text fields, text areas, menus, scrollbars, etc.

 

10
Exception Handling 17 Throwing and catching exceptions, pre-defined and user-defined exceptions.


11
Input and Output 18 Input and output streams, simple file handling.


12
Threads 24 Threads and multi-threading, through synchronization.

 

13
Object-Oriented Data Structures and Recursion 19, 20 Selected material, including some recursion and some abstract data structure, say Stack. Meant as a lead-in to a Data Structures class.

 

14
Review

 

15
Final Examination