Computer Science, asked by raj6835, 9 months ago

write a java program to calculate and display the area of a square where side=4​

Answers

Answered by AbhinashDutta
1

Solution in above picture.

Attachments:
Answered by Anonymous
7

Answer:

public class Square

{

public static void main (string args[])

{

int s=4;

int a=s*s;

System.out.println(a);

}

}

Explanation:

Please mark me as brainliest

Similar questions