Results 21 to 24 of 24
Thread: Need help~~~ Midterm tomorrow!!!
- 10-10-2008, 08:51 AM #21Java Code:
// TODO Auto-generated method stub
@str4kt, I suggest you put off using an IDE with code generation features till you're familiar with the syntax and code structures of the language.
If I were a teacher, which I'm not, I would set a bar for manual coding skills which the students would have to pass -- in a supervised test -- before being allowed to use any modern IDE. May sound primitive, but it pays off in the long run.
- 10-10-2008, 09:55 AM #22String str = "Jack";
str = str.replace('k', '$');
str = str.replace(str.substring(str.length()-1).toChar(), '$');
replace this line
- 10-10-2008, 09:56 AM #23
this will replace last char always
- 10-10-2008, 10:12 AM #24