Computer Science, asked by ishaminj020, 11 months ago

write Java code that takes value for side of a square in jTextField1 and calculate area of it to be displayed in jTextField2. ​

Answers

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
0

tex/

</bold

Java code that takes value for side of a square in jTextField1 and calculate area of it to be displayed in jTextField2.

Answered by arnimaanuragmishra
1

Answer:

Java Program

public class shpere{

public static void main(String args[])

{

int s=13;

int area_square=s*s;

System.out.println("Area of the square="+area_square);

}

}

Similar questions