branch | strings |
changeset 34 | 6fcc0dfbe324 |
child 36 | 95330dd02c47 |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/StringSample.java Tue Sep 25 17:30:13 2012 +0200 1.3 @@ -0,0 +1,13 @@ 1.4 +package org.apidesign.vm4brwsr; 1.5 + 1.6 +/** 1.7 + * 1.8 + * @author Jaroslav Tulach <jtulach@netbeans.org> 1.9 + */ 1.10 +public class StringSample { 1.11 + public static final String HELLO = "Hello World!"; 1.12 + 1.13 + public static char sayHello(int indx) { 1.14 + return HELLO.charAt(indx); 1.15 + } 1.16 +}