返回列表 發帖
本帖最後由 許洧熏 於 2022-1-8 19:57 編輯
  1. public class Ch01 {

  2.         public static void main(String[] args) {
  3.                 String str1="dog",str2="cat";
  4.                 int a=3,b=5;

  5.                 System.out.printf("There are %d %ss and %d %Ss.",a,str1,b,str2);
  6.         }
  7. }
複製代碼

TOP

返回列表