public class ForLoop {
public static void main(String[] args) {
String writtenStuff = "Hello i am bucky bucky";
int otherNum = 0;
int length = writtenStuff.length();
int i;
for (i = 0; i < length; i++){
if (writtenStuff.charAt(i) == 'b')
continue;
}
}//end method
}//end class
Here is my code, and i want to print the string without 'b's. By writing ++otherNum, i can get the number of letters other than b. Now i want to print these letters in order. How can i do this ?