blob: 7584aee9f74157c6801313c7d4e4fa4c64e9a8b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Bob is 1 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 1 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 1 years old!
Bob is 1%2d years old!
Bob is 1 years old!
Bob is 1%2d years old!
===============
Bob is 12 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 12 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 12 years old!
Bob is 12%2d years old!
Bob is 12 years old!
Bob is 12%2d years old!
===============
Bob is 123 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 123 years old!
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Bob is 123 years old!
Bob is 123%2d years old!
Bob is 123 years old!
Bob is 123%2d years old!
|