453eac4a7d
* libjava.lang/pr8945.java: New file. * libjava.lang/pr8945.out: New file. From-SVN: r60286
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));
|
|
}
|
|
}
|