Link Details

Link 1132553 thumbnail
User 1131839 avatar

By Javin_Paul
via java67.blogspot.sg
Published: Mar 28 2014 / 13:01

Main method is entry point of any core Java program, which means execution of program starts from here. As soon as you type "java" command on command prompt and provide a class name, Java search for standard public static void main(String[] args) method on that class and start executing code. By the way, that's not enough, there are more to learn about main method e.g. why main is public static and void in Java, what is difference between a C/C++ main method and Java's main etc? This article, helps you to understand those difference and explores some must know keys points about this fundamental concept in Java.
  • 10
  • 0
  • 774
  • 2335

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java