Article:
 |
|
Rethinking the Java Curriculum: Goodbye, HelloWorld!
|
| Subject: |
|
System.out.println |
| Date: |
|
2003-12-26 23:20:47 |
| From: |
|
anonymous2
|
|
|
|
Just wanted to note that System is not a package (notice the upper-case first letter), out is not a package, but a static field, and println is a method of the class java.io.PrintStream, which is the type of out.
In the article it said (and I quote): "...you might give HelloWorld OO points because the println() method of the out class in the System package is being invoked..."
If I remember right, this is the case with C#, where System.Console.Write is used: System is a package, Console is a class within it, and Write is a [static] method of this class (Sorry, but I'm not sure about the C# stuff).
Barak Ori
|
Showing messages 1 through 1 of 1.
-
System.out.println
2003-12-26 23:21:44
anonymous2
[Reply | View]
Barak