返回列表 發帖
  1. public class Ecl7042
  2. {
  3.         public static void main(String[] args)
  4.         {
  5.                 String str1="dog",str2="cat";
  6.                 int x=3,y=5;
  7.                 System.out.printf("There are %d %ss and %d %Ss.",x,str1,y,str2);
  8.         }
  9. }
複製代碼

TOP

返回列表