shp java main classes: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11



Syllabus

These are the topics we covered. Click on the topic names for notes.

Introduction
UNIX, emacs, javac, java, the Java virtual machine, applications, applets, hello world two ways
Variables and Operators
primitive types, byte, short, int, long, float, double, boolean, char, Unicode, memory, initialization, conversions, operators, exponentiation, increment and decrement, boolean operators, precedence, binding, parenthesis, comments
Control Structures
if, else, for, while, do while, break, continue, case, scope, blocks
Objects
classes, members, methods, encapsulation, constants, public, private, protected, the String class, command line arguments, Arrays
The Applet Class
applets, init, start, stop, paint, update, repaint, basic HTML, the applet HTML tag, Graphics, parameters
Inheritance and Interfaces
extends, interfaces, implements, abstract, super/sub, parent/child, base/derived, components, windows, frames
Events and Listeners
events, listeners, interfaces, mouse listeners
Threads
run, Runnable, Thread, stop, start, destroy, suspend, resume, animations
Sockets
sockets, connections, datagrams, TCP/IP, UDP, servers, clients
Frames
applications and frames
Files
file access, saving data, binary files, text files