Description
Objective: To understand the basic concepts of Object Oriented Programming System and to get familiar with object and class.
Assignments:
-
Write a Java program to print your name.
-
Write a Java program to add two numbers.
-
Write a Java program to change temperature from Celsius to Fahrenheit.
-
Write a Java program to change temperature from Fahrenheit to Celsius.
-
Write a Java program to find area and perimeter of a rectangle.
-
Write a Java program to find area and perimeter of a circle.
-
Write a Java Program to display whether a number is odd or even.
-
Write a Java program to find maximum of three numbers.
-
Write a Java program to swap two numbers.
-
Write a Java program to convert miles to kilometers.
-
Write a Java program to check whether a year is leap year or not.
-
Write a Java program for following grading system.
Percentage>=80% : Grade B
Percentage>=70% : Grade C
Percentage>=60% : Grade D
Percentage>=40% : Grade E
Percentage<40% : Grade F