mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 11:24:56 +08:00
10 lines
166 B
Java
10 lines
166 B
Java
|
public class pr8945
|
||
|
{
|
||
|
public static void main(String[] args)
|
||
|
{
|
||
|
String foo = "hello";
|
||
|
int pos = 3;
|
||
|
System.out.println(foo.substring(pos,++pos));
|
||
|
}
|
||
|
}
|