C SC 205 Lecture 1: Introduction and OO Concepts
major resources: Data Structures and the Java Collections Framework Second Edition,
William Collins, McGraw-Hill, 2005
Introduction to Programming and OO Design
using Java, Niño and Hosch, Wiley & Sons, 2002
[ last
| schedule
| next ]
Monday September 10 (week 1)
Course Introduction
- syllabus (including objectives) and schedule
- context of this course in the curriculum
- where this couse fits in the inside-out approach
- where we are in the software development lifecycle
- in this course, we transition from being a client (consumer) of Java classes/libraries to also being a supplier (producer)
Basic OO Concepts
- object
- class
- knowing the difference between object and class
- object has: identity, state, and behavior
- fields (instance variables)
- methods (accessor and mutator)
- static fields and methods as attributes of the class, shared by all object instances
- instantiation
- Java primitive and reference types
- constructors
- mutability
- encapsulation and information hiding, complementary but not the same
- client sees only specification, supplier provides implementation
The java.lang.String class
[ C
SC 205 | Peter
Sanderson | Math Sciences server
| Math Sciences home page
| Otterbein ]
Last updated:
Peter Sanderson (PSanderson@otterbein.edu)