The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

i can answer your second question

Posted by yinbin on July 23, 2001 at 10:10 AM

> Could you please explain follwing problems

> 1. I don't know the real meanning of "static" in a Java class
> 2. I want to print "Java" with System.out.println(" ")

>
> best regards

> Lanka bogoda

please look the program that follows:
public class TestPrint
{
public static void main(String[] args)
{
System.out.println("\"Java\"");
}
}
copy the program,and name it as TestPrint.java
compile and run it,you can print "Java"




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us