You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617 |
- 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 "";
- }
- }
|