📜  在java代码示例中打印一个整数

📅  最后修改于: 2022-03-11 14:52:16.449000             🧑  作者: Mango

代码示例2
public class HelloWorld {
    public static void main(String[] args) {
        int number = 45;
        System.out.println("You entered: " + number);
        // output => You entered: 45
    }
}