summaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/xmldefs/Hello3.java
blob: 8f5190ec082b6c0dba67f59517d5a9e50349f407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public class Hello3 {

        public static void main(String[] args) {
                say1("hello");
        } 

        public static void say1(String h) {
                System.out.println(h);
                String s = say2("world");
		System.out.println("from say2="+s);
        } 

        public static String say2(String w) {
                System.out.println(w);
                return "";
        }
}