public class array3 {
public static void main(){
String s="I LOVE YOU ";
change.low(s);
change.sub(s);
}
} class change{
public static void low(String s){
String a;
a=s.toLowerCase();
System.out.println(a);
}
public static void sub(String s){
String c;
c=s.substring(2);
System.out.println(c);
}
}
哪儿出错了? |
|