Java examples part-1


This is the first collection of Java applets which are used in DCS programming lectures.

The links below lead to applets. Each applet has a brief description shows the output of the applet and has a link to the program code. Applets with GUIs can be manipulated - try them out.




Variables1 Using variables - eg: 1
Variables2 Using variables - eg: 2
Method1 Defining your own methods - eg: 1
Method2 Defining your own methods - eg: 2
Method3 Defining your own methods - eg: 3
FirstIF Using IF - eg: 1
SecondIf Using IF - eg: 2
ThirdIf Another example using IF - eg: 3
StickFigIf IF - a more interesting example