import java.lang.*;

class Square

public static void main(String args[])

float s=2.3f,area,peri;
System.out.println(“Side of the square : “+s);

System.out.println(“Area of the square : “+area);
System.out.println(“Perimeter of the square : “+peri);

63,024 total views, 12 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

3,175 Thoughts to “Java Program To Find Area And Perimeter Of Square”

  1. It’s actually a great and helpful piece of info. I am
    satisfied that you simply shared this useful information with us.
    Please keep us informed like this. Thanks for sharing.

Leave a Comment