Computer Science 225
Advanced Programming
Spring 2017, Siena College
Lecture 2: Basic Java and the API
Date: Monday, January 23, 2017
Agenda
- Announcements
- If your group has not yet completed Lab 0: Java
Refresher, you have until start of your lab period
on Wednesday to wrap it up
- Discussion of Homework Project 1: Chutes and Ladders simulation
(details in Blackboard)
- Software design: Feature Analysis (a way to help define requirements)
- steps in software development
- Some Java you know and some Java you probably do not
- Comments: Javadoc
- Primitive types: wrappers and autoboxing/autounboxing, literal specifiers, special values
- Arrays and their initialization
- Declaring lists of variables, default values
Terminology
- Javadoc
- Primitive types
- autoboxing/autounboxing
Examples