Professional Documents
Culture Documents
Amna Arooj Lab 1
Amna Arooj Lab 1
Lab 01
Submitted By
Instructor Name
Ms. Sehrish Ferdous
LAB Title: Install Eclipse and demonstrate Java programming language basics
Lab Task 1: Install jdk and eclipse in your computer and make eclipse project and make
helloWorld Program.
Lab Task 2: Write Java Program to calculate area of rectangle.
Lab Task 3: Write program to find sum and subtraction of numbers taken from user using
functions.
public static int sum (int a, int b)
public static int subtract (int a, int b)
TASK 1
Task 2
TASK 3