How to write first program in java
First program in java message on display in console screen. If you are a beginner in java so you should have to learn java programming language beginner to good java developer or software developer. If you have to first write first program in java.////////////Print- hello this is my first java program//////////////////////
import java.lang.*; /////////this is default package it's not need to import but you can
class Firstprogram
{
public static void main(String arg[])
{
System.out.println("this is my first program");
}
}
If you have any problem then comment here for better solution.
Comments
Post a Comment