Wednesday, 30 March 2016

HOW TO PRINT MASSAGE " HELLO JAVA " IN JAVA

Hello Reader This Is A First Program In Java To Print A Given  Massage . Here Remember One Thing Java Is Very Case Sensitive Language  So Be Carefully

TIPS:- 

1. Import All Necessary Header File Or Library Or Package What Ever You Called Them .

2.Class Name Should Contain Only Alphabet ( Upper & Lower Case ) Or _ ( Underscore )

3.Class Name And Java Program Name Should Be Shame Name Ex: Class hello And When You Save  The Program It Should Be hello.java 

4.Use Best Editor For Write A Java Program Instead Of NOTEPAD You Can Use NOTEPAD++ or SUBLIME TEXT

5.If  You Need Any Help Our Expert Always With You Here Your Java Expert Is "Prashant Chaturvedi  Sir"


import java.util.*;

class hello
{
    public static void main(String[] args)
    {
    System.out.println("HELLO JAVA");
    }
}

Output:-

www.programmingwithbasics.com
HELLO JAVA

2 comments:
Write comments
  1. Try Some Differrent Program Actually I Am Not Child

    ReplyDelete
    Replies
    1. Dude This Is Beginer Level Program Wait For Advance level

      Delete

Recommended Posts × +