public class Main {
public static void main(String[] args) {
System.out.println("The size of short is " + Short.BYTES + " bytes.");
System.out.println("The size of int is " + Integer.BYTES + " bytes.");
System.out.println("The size of long is " + Long.BYTES + " bytes.");
System.out.println("The size of long long is " + Long.BYTES + " bytes.");
}
}
牛客网 编程初学者入门训练 BC3 有容乃大 Java
最新推荐文章于 2024-05-19 21:34:53 发布