Learning JAVA Through BlueJ
Learning JAVA Through BlueJ
Dheeraj Mehrotra
City Montessori School
Kanpur Road, Lucknow
[email protected]
www.computerscienceexpertise.com
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Michael Kölling
School of Network Computing
Monash University, Australia
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Prerequisites
You must have JDK 1.2.2 or later installed on your system to use BlueJ. Some
functionality works better with JDK 1.3, so it is worth getting or updating to the
latest JDK release. If you do not have JDK installed you can download it from
Sun’s web site at http://java.sun.com/j2se/.
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Windows:
Double-click the install file (bluejsetup).
And follow the instructions further.
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Once the BlueJ with JDK is installed, double click the above icon to
have the following screen.
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Right
Click
the
Mouse
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
Select
Void computerscienceexpertise.com
work(String)
TOWARDS QUALITY LITERACY
function
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
class compute
{
public void found(int a, int b) //
declaration of the function
{
int p,h=0;
p=a*b;
for (int i=1;i<=p;i++)
{
if (a%i==0 && b%i==0)
h=i;
} computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY
computerscienceexpertise.com
TOWARDS QUALITY LITERACY