Java Programming Examples
Java examples with solutions
Program - 3
Java program for wondrous square
Program - 6
Java program to print day name for given date
Program - 11
Write a program to find the sum and difference between 25 and 16 using variables in different lines
Program - 14
Java program to input the length and breadth of a rectangle and find its area and perimeter
Program - 15
Java program to calculate the area of a cylinder
Program - 16
Java program to calculate the volume of a cone
Program - 19
Java program to input the principal rate and time for a certain amount of money and print the simple interest
Program - 20
Java program to input the length and breadth of a rectangle and find its area and perimeter
Program - 22
Java program to input the length breadth and height of a cuboid and find its volume and total surface area
Program - 23
Java program to input the radius and height of a cylinder and find its volume and total surface area
Program - 29
Java program to input an integer and if positive change it to negative and if negative change it to positive
Program - 30
Java program to find out the aggregate marks and percentage marks obtained by the student
Program - 31
Java program to input selling price of 15 items and profit amount then find the cost price
Program - 32
Java program to input three integers and find the difference between their sum and their average
Program - 36
Java program that outputs the results of the following evaluations based on the number entered by the user
Program - 37
Java program to input the radius of a circle and find its area and circumference using math power function
Program - 42
Java program to check whether a short type number taken as input is an even number or an odd number
Program - 45
Java program to check whether an int type number taken as input is a multiple of 5 or not
Program - 47
Java program to check whether an input number is a 3 digit number and divisible by three or not
Program - 48