corejava第10版
This commit is contained in:
1 parent
2021c3c227
commit
6165543dd3
1088 files changed
+94411
No files matched your search
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @version 1.20 2004-02-28
|
||||
* @author Cay Horstmann
|
||||
*/
|
||||
public class Welcome
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
String[] greeting = new String[3];
|
||||
greeting[0] = "Welcome to Core Java";
|
||||
greeting[1] = "by Cay Horstmann";
|
||||
greeting[2] = "and Gary Cornell";
|
||||
|
||||
for (String g : greeting)
|
||||
System.out.println(g);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user