How does Java's Hello World work without an object instance?
- by vipinsahu
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!");
}
}