没太懂 谁能帮帮我
package zh.codegym.task.task06.task0611;
/*
StringHelper 类
*/
public class StringHelper {
public static String multiply(String s) {
String result = "";
//在此编写你的代码
for(int i=1; i<5; i++)
{
// result = "";
System.out.print(result);
}
return result;
}
public static String multiply(String s, int count) {
String result = "";
//在此编写你的代码
for(int i=1; i<count; i++)
{
System.out.print(result);
}
return result;
}
public static void main(String[] args) {
}
}