Find the Area and Perimeter of Rectangle – Java Program June 14, 2020September 2, 2018 by Sumit JainA rectangle is a quadrilateral with four right angles.Say rectangle is given with side’s length A and BArea of Rectangle = A * BPerimeter of rectangle = 2(A+B)Code: Run This CodeOutput:Area of Rectangle: 12.0 Perimeter of Rectangle: 14.0 Related Posts:Find the Area of a Circle - Java ProgramFind the Area of Triangle using base and height - Java ProgramFind the Area of a Triangle Given Three Sides – Heron’s FormulaFind the Area of a Triangle Using coordinatesFind the Circumference of a Circle - Java ProgramJava Program to find if Triangle can be formed using given 3 sidesGenerate all the strings of length n from 0 to k-1.Find Factorial of a given NumberJava Program to determine if Given Year is Leap YearPrint My IP Address – Java CodePrint maximum occurring character in a StringPrint all subarrays using recursionPrint all middle elements of the given matrix/2D array.Number of Contiguous Parking AreasZigZag OR Diagonal traversal in 2d array/Matrix using queue