Listing 5 demonstrates the use of the format method of PrintStream to print today's date.
清单5演示了用PrintStream的for mat方法打印今天的日期。
The PrintStream class contains the definition of the common System.out and System.err objects for writing to standard output and standard error, respectively.
PrintStream类中定义了常见的、分别用于写入标准输出和标准错误的 System.out 和 System.err对象。
The PrintStream class contains the definition of the common System.out and System.err objects for writing to standard output and standard error, respectively.
PrintStream类中定义了常见的、分别用于写入标准输出和标准错误的 System.out 和 System.err对象。
应用推荐