| 123456789101112131415161718192021222324252627 |
-
- /**
- * Write a description of class Test here.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class StringTest
- {
- private String value;
- public StringTest(String value)
- {
- this.value = value;
- }
-
- public String vowelRemoved()
- {
- StringBuilder builder = new StringBuilder();
- char[] vowels = {'a', 'e', 'i', 'o', 'u'};
-
-
-
- for (int i = 0; i < value.length(); i++){
- System.out.println(" char at i is " + value.charAt(i));
- }
- }
|