How does Java's Hello World work without an object instance?
Posted
by vipinsahu
on Stack Overflow
See other posts from Stack Overflow
or by vipinsahu
Published on 2009-07-09T10:09:12Z
Indexed on
2010/04/05
4:53 UTC
Read the original article
Hit count: 410
Hi, I'm a newbie to Java and I'm confused about something:
In the simple hello world program in Java, no object is created so how does the class work in the following example?
public class HelloWorld
{
public static void main (String args[])
{
System.out.println ("Hello World!");
}
}
© Stack Overflow or respective owner