CS1010 -- Week 2 Lecture 1: Java Development Basics
Winter 2005-2006
Topics
Java Syntax
- Programmer-defined classes
- Standard classes
- Identifier creation (reference creation)
- Object creation (new operator)
- Garbage collection
- Message sending (dot operator)
- Reserved words (e.g., true, false, int, for...)
- Comments/javadoc
- packages
- fully qualified name
- import statement
- Class declaration
- Method declaration
Edit/Compile/Run
- source file (java)
- class file (bytecode)
- compilation/execution errors
- JVM
Standard Java Classes
- API (application programming interface)
- JOptionPane.showMessageDialog
- JOptionPane.showInputDialog
- String.substring
- String.length