Syntax for JAVA

Syntax for a standalone application in Java:


import packages;

class <classname>
{
         public static void main(String args[])
         {
              statements;
              ————————;
              ————————;
         }
}

No comments: