CREATING YOUR FIRST PROGRAM IN JAVA

36
421
views
JAVA

NOW YOU’RE AT THE STAGE OF START WITH JAVA.

This is your first program that you create in Java.

CODE FOR CREATING PROGRAM IN JAVA BUT FIRST YOU NEED TO LEARN HOW TO START YOUR JAVA IDE.

1.Install your JAVA IDE and start it.

PROGRAM

2.click on “Create a new Java project“.

PROGRAM

3.Give here any name you want to use for your Project and Click on Finish.

PROGRAM

4.It will like as shown in above Image.

5.Right Click on src and Select the New Option and then Click on Package.

PROGRAM

6.Give the name at this place and click on Finish it will look like as shown below in Image.

PROGRAM

7.Now Right clicks on Package and again Select a New option and Click on Class.

PROGRAM

10.It will look like as shown in above figure Give here any name you want to use and click Next.

11.A new page will appear As shown in Figure This is your workplace where you can code your Application.

PROGRAM

NOW YOU CAN TYPE YOUR CODE HERE AND THE CODE FOR FIRST YOUR APPLICATION IS GIVEN BELOW.

 

package MyFisrt;  –>This is your package Name

public class first  –>This is your Class Name

{
public static void main(String arge[])  –>This is your main Syntax.
{
1System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
2System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
3System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
4System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
5System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
6System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
7System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
8System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
9System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
10System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
11System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
12System.out.println(“HELLO THIS IS MY FIRST APPLICATION”);
}

}

 

PROGRAM

12.Now your First Application is created Now I will tell you How to run your first Application.

13.In the upper side, There is soo many options and There is a green Button click on it As Shown in Figure.

14.Click on Green Button and Wait Your Application is Starting and a new window will open named Console it will look like as shown in the figure .

CONGRATULATIONS YOU HAVE SUCCESSFULLY CREATED AND RUN YOUR FIRST APPLICATION.

14.you can download the program from this linkhttps://docs.google.com/document/d/1GtL3IaptCnME8JtY6FAdUPcL4UvNMhnDTtm67U_6uqU/edit?usp=sharing.

 

36 COMMENTS

  1. Hey! Quick question that’s completely off topic. Do you know how to make your site mobile friendly? My web site looks weird when viewing from my apple iphone. I’m trying to find a template or plugin that might be able to correct this problem. If you have any recommendations, please share. With thanks!

  2. Generally I do not read post on blogs, however I would like to say that this write-up very compelled me to take a look at and do it! Your writing taste has been surprised me. Thanks, very nice post.

  3. I’m not sure exactly why but this site is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later and see if the problem still exists.

  4. I do agree with all the concepts you have introduced on your post. They’re really convincing and can definitely work. Nonetheless, the posts are very quick for starters. May you please extend them a little from subsequent time? Thank you for the post.

  5. Thank you, I have recently been looking for info about this subject for ages and yours is the best I have discovered so far. But, what about the bottom line? Are you sure about the source?

  6. I know this if off topic but I’m looking into starting my own blog and was wondering what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet smart so I’m not 100 certain. Any tips or advice would be greatly appreciated. Thanks

  7. Howdy! This is my very first reply on your site so I really wanted to give a quick hello and tell you I really enjoy reading your articles. Can you suggest any other blogs that go over homework help? I am as well very fascinated by this! Many thanks!

  8. After examine just a few of the blog posts in your website now, and I actually like your manner of blogging. I bookmarked it to my bookmark web site list and can be checking again soon. Pls take a look at my web site as effectively and let me know what you think.

  9. Hey could you inform me which blog platform you are utilizing? I am planning to start out my personal website on lucky patcher for iphone in the near future though I’m having a difficult time deciding.

  10. Thank you so much for your excellent post! I truly appreciated reading it.I will be sure to bookmark your page and definitely will return from now on. I would really like to suggest you to ultimately keep going with your excellent writing, maybe write about medical malpractice negligence too, have a fantastic evening!

  11. I really love your website and find a lot of the blogposts to be just what I’m searching for. Do you offer other people to write information for you? I would not mind producing a post relating to omega xl pills or maybe on most of the subjects you’re posting about on this website. Cool internet site!

  12. Hello there I am really delighted I came across your blog, I basically found you by mistake, when I was searching on Digg for omega xl price. Regardless I am here now and would really like to say cheers for a great post and the overall impressive website (I too love the design), I do not have enough time to read through it completely at the minute however I have bookmarked it and also added your RSS feeds, so whenever I have plenty of time I’ll be returning to look over more. Make sure you do continue the amazing work.

  13. This can be the appropriate blog for anyone who desires to locate out about this subject. You understand so significantly its just about tough to argue with you (not that I in fact would want…HaHa). You undoubtedly put a new spin on a topic thats been written about for years. Fantastic stuff, just good!

  14. Pretty component to content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact loved account your blog posts. Any way I’ll be subscribing on your augment or even I fulfillment you get admission to consistently fast.

  15. Hey! I know this is kinda off topic but I’d figured I’d ask. Would you be interested in trading links or maybe guest writing a blog post or vice-versa? My website covers a lot of the same subjects as yours and I believe we could greatly benefit from each other. If you are interested feel free to send me an e-mail. I look forward to hearing from you! Excellent blog by the way!

  16. There is amazing improvements on the layout of your website, I really love this! Mine is regarding upvc back doors and right now there are lots of stuff to be done, I am still a beginner in web development. Take good care!

  17. Pretty nice post. I just stumbled upon your weblog and wanted to say that I have truly enjoyed browsing your blog posts. In any case I’ll be subscribing to your rss feed and I hope you write again soon!

  18. You’re completely correct. I really enjoyed reading through this info and I will come back for more straight away. My website is on Arvind Pandit Kansas, you might look if you are still interested in that.

  19. Our LGV (Large Goods Vehicle) HGV training is based in East London, and our LGV/ HGV courses are taught by qualified DVSA LGV & HGV trainers. LGV was formerly known as HGV, where it used to be referred to as HGV Class 2 (now called LGV Category C) and HGV class 1 (Now called LGV Category C+E).

  20. My programmer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am worried about switching to another platform. I have heard great things about blogengine.net. Is there a way I can transfer all my wordpress posts into it? Any help would be greatly appreciated!

  21. I am definitely loving the theme of your site. Do you ever come across any kind of web browser interface troubles? Some of my site audience have complained about my personal injury lawyers website not working appropriately in Explorer but seems fantastic in Firefox. Do you have any kind of advice to aid correct that situation?

  22. You’re absolutely correct! I really liked reviewing this and I will return for more right away. My internet site is on the subject of canon printer software, you can take a look if you are interested in that.

  23. “Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I acquire in fact enjoyed account your blog posts.”

LEAVE A REPLY

Please enter your comment!
Please enter your name here