CS 9G. Java for Programmers

Current Schedule (Spring 2015)


Catalog Description: (1 unit) Self-paced course in JAVA for students who already know how to program. Applets; variables and computation; events and flow control; classes and objects; inheritance; GUI elements; applications; arrays, strings, files, and linked structures; exceptions; threads.

Prerequisites: CS 9C or 9F or 61A (experience with object-oriented programming or with a C-based language)

Course objectives: Students will learn constructs of the Java programming language, along with built-in facilities to create graphical user interfaces. In the process of learning the language, they will be applying knowledge of mathematics, science and engineering. As many of their projects require a fair bit of software engineering, they will also be making design decisions (algorithm, data structure, time-vs-space, etc) and considering various implementation trade-offs.

Topics covered:

  • Applets
  • Variables and computation
  • Events flow of control
  • Details about Java looping and testing constructs
  • Paint, repaint, init, and HandleEvent methods of applets
  • Classes and objects
  • Inheritance
  • Interfaces
  • Details of defining classes and interfaces and using objects
  • Public vs. private methods
  • Static methods and data
  • Arrays
  • Strings
  • Linked structures
  • Files
  • Exceptions
  • Applications
  • Threads

General Catalog