Java Part 4 : Hello World!
This article will show you how to execute the first Java program. At first you should get to know few terms related to java programming. Java Comments Java comments are used to provide information and explanations to the code you develop. These comments are not executable and added in the program to get a clear understanding about the code. There are different types of java comments and you will get to know about them in upcoming articles . package myproject Java Package contain one or more Java files. In here contents of the file MyProject.java belongs to the package myproject public class MyProject Java File contains only one class and the class name should always match with the file name. An error will be generated if the package name does not match with the file name. Note : Java is a case sensitive Language public static void main(String[] args) To run a class there should be a special behavior. ...