how to find the perimeter of a rectangle in java?
['public class Main.', '{', 'public static void main (String args[])', '{ float a ,b, c, d, perimeter;', 'a=c= 5;', 'b=d=4;', 'perimeter = 2*(a+b);', 'System.out.println("Perimeter of Rectangle is: "+perimeter);']