Knowledge Walls
John Peter
Pune, Maharashtra, India
Main method basic template in JAVA of Code Template
5160 Views
Hints 
java.lang.* is the default import package of Java file. others java.io and java.util packages are frequently using colleciton and file input and output releated packages.

package name has to specify from the current directory root of the java file.
Basic java template file with basic imports
package <package_name>;

import java.util.*;
import java.io.*;
import java.lang.*;

class <class_name>
{
    public static void main(String args[])
    {
           /* statements */

    }
}
Basic Java SE Class File Template
class <class_name>
{
    public static void main(String args[]){
         /* statements */
    }
}
Previous Topics
Previous lessons of current book.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details