Mathematics, Computer Science, and Statistics
Bloomsburg University

Object-Oriented Programming with Java

Preliminaries (read 1.3—1.7)
  • high-level programming languages
  • history of Java
  • object-orientation
  • the Java Virtual Machine
Using Objects (read chapter 2)
  • types and variables
  • assignment operator
  • reading input (read 4.6)
  • formatting numbers
  • objects, classes, and methods
  • parameters and return values
  • constructing objects
  • accessors and mutators
  • the API documentation
  • strings (read 4.5)
  • object references
  • using API classes for graphics
Implementing Classes (read chapter 3)
  • instance variables
  • encapsulation
  • Javadoc
  • implementing a class
  • unit testing with JUnit
  • local variables and the implicit parameter
  • implementing classes for drawing complex shapes
Data Types (read 4.1—4.4)
  • number types and constants
  • arithmetic operations
  • casting and rounding
  • static methods
Decisions (read chapter 5)
  • if and if-else
  • relational and boolean operators
Looping (read chapter 6)
  • 3 flavors: while, do-while, and for
  • common loop algorithms
  • nested loops
  • random simulations
  • using the NetBeans debugger
Designing Classes (read chapter 8)
  • cohesion and coupling
  • immutable classes
  • static methods and fields
  • side effects
  • scope and shadowing
  • packages
Linear Arrays and Array Lists (read 7.1—7.4)
  • linear arrays
  • the ArrayList class
  • wrappers and auto-boxing
  • the enhanced for-loop

Home   |   Topics   |   Policies   |   Links   |   Style Guide   |   Reasons to Major in CS   |   Career Paths