CoreJava/exp1/Smp3.java

15 lines
224 B
Java
Raw Normal View History

2024-05-09 09:10:51 +08:00
package exp1;
public class Smp3
{
public static void main(String[] args)
{
int a;
a = (int)3L * 4;
System.out.println(a);
float b;
b = (float)3.2 * 4;
System.out.println(b);
}
}