CEP CERTIFICATE COURSE
ON
Practice of Programming using JAVA



My Demo Java Programs used in class
Read them bottom up


A Swing program, grid layout
A modification that we did in the class
Forming graphs (vertices and edges)
class Object, class Class
Nested Classes        
Nested Classes: A bigger example        
Static Nested Class        
Local Nested Class        
Anonymous Class        
Anonymous Class: A bigger example: create multiple stacks and invoke dumper threads        
A package with a hidden class and a public class         and the program that uses the package
HelloWorld Applet         HelloWorld html
Mouse click counter         Click Counter HTML file
Check Boxes and trapping events on them         CheckBoxes html
Mouse Trap Demo: Various events on mouse         Mouse Trap html
Assertions Demo
Assertions with values
Exception Demo
Break
Labeled Break
Continue
Labeled Continue
File copy- bytes
File copy - use of char streams
Reading an Integer -- using streams
Piped stream
Synchronized Statement
Not a thread
Thread Demo: Extend Thread, implement run, instantiate, call start
Thread Demo: threaded objects can be ordinary objects with other member functions
Wait and Notify Demo
Abstract Classes
Extended Classes
Polymorphism: Dynamic Binding Illustrated
Polymorphism
Overriding
This
Super
Final Classes
Final Methods
Superclass's constructor: default
Superclass's constructor
Multiple Inheritance: Extend a class, Implement an interface
Multiple Inheritance: Multiple Interfaces to same class
Switch Statement
String Test
Array Reversal
Max/Min in Array
Hallo prints all input strings provided at command line
Array Test
VectorTest.java
BitSetTest.java
Account.java: A program to start with Cut and paste this program as Account.java, compile it as 'javac Account.java' and execute as 'java Account'.
Course Details