How to write a Java program in 1 minute

How to write a Java program in 1 minute

For decades, the Java language has been among the top’s in the market, alternating between the top 3 positions since its launch in 1995, its acceptance was very large and until today, 25 years later, it continues to grow and the professionals who dominate it are very well accepted by companies, especially large ones, who are looking for features that the platform behind the language offers.

Objectively, to take your first step and write your first code in Java, just 2 steps are needed:

  • Install the?JDK?(Java Development Kit), which are the resources to write our programs;
  • Installing an IDE (Integrated Development Kit), which is the program that helps the writing of programs, serves to make the programmer’s life easier and provide productivity. In this example, I recommend?Eclipse?as it is one of the most used by companies.

Once that’s done, just once, we’re ready to write Java programs. ??

  • Open Eclipse and Click?File > New > Other > Java Program;

N?o foi fornecido texto alternativo para esta imagem

  • Then, right-click on the?“src” folder > New Class > Package = package > Name = MyJavaProgram > Check box = Create void main > Finish;

N?o foi fornecido texto alternativo para esta imagem

  • Finally, just write the instruction below to send an output message into the program and click on?Run Program;

N?o foi fornecido texto alternativo para esta imagem

Ready! We created our first Java program. ??

If you want to see it in more detail, see the video on Youtube. If you have any questions or observations, leave your comment and we’ll be happy to help.

Below is an incredible course, from a great professional. I highly recommend!

???https://www.udemy.com/course/digiflaxjavaprogramming


要查看或添加评论,请登录

社区洞察

其他会员也浏览了