CS 104
Computer Science II


Stonehill College       Computer Science         CS 104

barmove.gif (33725 bytes)

Syllabus

Text: Java Programming: From the Ground Up

Java Programming: From The Ground Up


Objective:

To learn

Course Outline (tentative):

       

 1. Review of Objects and Classes

  2.  Inheritance

          Inheritance and Encapsulation

The is-a Relationship: A DirectRemote is-a Remote

Inheritance Via Factoring: Movies and Plays

Inheritance Via Abstract Classes

Extending the Hierarchy

Upcasting and Downcasting

A Everything Inherits: The Object class

Interfaces

A Generic Sort

Composition and the has-a Relationship

 3.Polymorphism

Two Simple Forms of Polymorphism

Dynamic (or Late) Binding

Polymorphism Makes Programs Extensible

Interfaces and Polymorphism

Polymorphism and the Object Class

4.More Java Classes

The Wrapper Classes

Exceptions and Exception Handling

 

  5.Graphics: AWT and Swing

Components and Containers

Abstract Windows Toolkit and Swing

 Windows and Frames

 Layout Managers

 Panels

 Some Basic Graphics

 Displaying an Image

 The repaint() method

6.Event Driven Programming
  

          The Delegation Event Model

 Component and JComponent

 Buttons

 Labels

 Text Fields

 Text Areas

 Dialog Boxes

 Mouse Events

 Check Boxes and Radio Buttons

 Menus

7.Data Structures and Generics

 Generics and ArrayList<E>

 Stacks

 Queues

A Linked Lists

 8.The Java Collections Framework

The Collection Hierarchy

The Set<E> Interface

                        Lists

                        Performance Issues and Choosing the Right Collection

 The for-each loop

 9.Stream I/O and Random Access Files (If Time)