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 Triangle using base and height - Java ProgramFind the Area of a Circle - 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 ProgramGenerate all the strings of length n from 0 to k-1.Find Factorial of a given NumberJava Program to find if Triangle can be formed using given 3 sidesJava Program to determine if Given Year is Leap YearPrint all substrings of a given stringText Justification Problem (OR Word Wrap Problem)Print My IP Address – Java CodePrint all sub sequences of a given StringPrint all subarrays using recursionPrint all middle elements of the given matrix/2D array.