DEV Community

Sadaf Khan
Sadaf Khan

Posted on

Let's start with learning JAVA Post 1 :

I use Eclipse as my Integrated Development Environment (IDE) for Java development. I successfully created my first program in Java, demonstrating how to print a message to the console.

Print Command:
System.out.println("First Program");

Image description

If you type sysout and press clt+space, you can get the print command directly.

In Java, you use double quotes ("") when printing text (strings), while integers can be printed without them. Additionally, the ln in println stands for "line," which means the next output will start on a new line.

I’ve attached an image of my code and its output for reference.

Image description

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay