30/03/2016

How To Print Message " 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 Careful. This is a simple example or this is the first program in Java or we can say with the help of this program we learn about printing a string on display while printing a message on the screen below are some useful tips read all tips.


Some Useful 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


Extreme Recommended:- Like our Facebook Page or Join our Facebook Group and Google plus Community for up-to-date for a new post or if you have any Query you can ask there with lots of coders also suggest to your Friends to join and like our page, so we can help our community, and don't forget to Subscribe. Enter your Email and click to subscribe.


How To Print Message " HELLO JAVA " In Java




import java.util.*;

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

Output:-
Previous Post
Next Post

post written by:

2 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