Syllabus
This syllabus provides a listing of potential topics and time requirements that are intended to be conservative in nature. It is probable that the topics discussed, and the time requirements, will deviate from this estimate.
Topic |
Description |
|
Java vs. C/C++ |
Parameter passing rules Description of implicit nature of pointers in Java, garbage collection, etc; |
|
Objects |
Objects provided by Java, the API; Use of String as example API class, if warranted. toString(), valueOf() methods of Object class; overriding, etc; Specify and employ objects; emphasis on construction. Objects in java.lang; use as wrappers, immutable nature; IntegerObject to facilitate pass by reference |
|
Inheritance & Polymorphism |
Class hierarchies. Singular inheritance via extension, multiple inheritance via interfaces. A couple of examples, brief intro to polymorphism, use of super() keyword. |
|
Exceptions |
throws clause; try/catch blocks. |
|
GUIs |
Event-driven programming. Containers (Frame, Panel, Canvas). Layouts (Border (default in Frame), Flow, Grid), Components (Label, TextField, Button, Menus, etc). Swing Components. Listeners and events. Drawing objects. Battleship GUIs. Toolkit class? |
|
Images |
Loading/Drawing Images from local drive |
|
Threads |
Mutithreading. Sharing data. |
|
JDBC |
Simple database access using SQL commands |
|
Sockets |
TCP/IP sockets (UDP if appropriate) |
|
JNI |
Calls between Java and C/C++ |
|
Other Topics |
Other topics are anticipated to be discussed as we consider how Java can be used to design the desired front end. |
I will make myself available to answer questions via e-mail between sessions.
Examples and Power Points may be found at URL
http://consulting.yu-spiegel.com/JavaInstruction