Java Notes (1) -- Basics, Methods, Classes & Objects, Arrays


1. Basics

 Import statements and Keyboard Input

 Data Types, Variables, Arithmetic Operators

 The java.lang.String Class

 Relational and Logical Operators

 Conditional Statements (if, switch)

 Loop Statements (while, for, do-while)


2.  Methods in Java

Pre-defined Methods

The Math class

The Character class

 User-defined Methods

 Pass by Value

 Variable Scope

 Method overloading


3. Arrays in Java

 Passing Arrays for Methods

Command line arguments


4. Classes and Objects

Anatomy of Class

 Values vs. References

 Null reference

 Method decomposition

Methods that have objects in the parameter

 Methods that return an object

 Method Overloading

 Scope of the variables

Instance variables/methods vs. Static variables/methods

Object Composition