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
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
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