public class Solution {
public static void print3(String s) {
//在此编写你的代码
System.out.print(s);
System.out.print(s);
System.out.print(s);
}
public static void main(String[] args) {
print3("窗口");
print3("文件");
}
package zh.codegym.task.task02.task0219;
/*
打印三次
*/
public class Solution {
public static void print3(String s) {
//在此编写你的代码
System.out.print(s);
System.out.print(s);
System.out.print(s);
}
public static void main(String[] args) {
print3("窗口");
print3("文件");
}
}