返回列表 發帖
  1. package a01;

  2. public class a01 {

  3.          public static void main(String[] args)
  4.             {
  5.                 String str1="dog", str2="cat";
  6.                 int a=3, b=5;
  7.                 System.out.printf("There are %d %ss and %d %Ss.",a,str1,b,str2);
  8.             }
  9.         }
複製代碼

TOP

返回列表