Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestingStrings {
- public static void main(String[] args){
- String example = "Test String";
- int strLen = example.length();
- System.out.println(example + " has length " +
- strLen);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment