The best - and fastest - way to really get to know how to write java programs is by discovering what they are like. Save the codes using the browser, compile and run them. You have to modify sample html file to refer to appropriate code that you may want to run. Stack and queue programs are not applet based, they are stand-alone java codes. You have to compile these using java compiler. |
To compile: javac program.java To run standalone programs: java program.class or java program (without the .class extension) To run applets: Use the barChart.html file (by appropriately modifying it). |
|