‫Welcome back.
‫In this video, we'll learn about Java.
‫Output in Java When we want our program to show something on the screen, we use a special command called
‫System.out.print.
‫It's like a magic spell that makes our program talk to us.
‫Imagine you have a friend named Java who loves to say things out loud.
‫You can ask Java to say something for you by using the System.out.print command.
‫Imagine I need in this example and in this project I need from Java to say hello my friends.
‫I'll start with system dot out dot print and here I'll include the message that I need to display on
‫the screen.
‫Hello my friends.
‫Let's run this program by clicking on this green triangle near the main method and in the console the
‫run tab.
‫We can see that.
‫Hello, My friends message is appearing here.
‫Okay, so our program prints for us.
‫Hello, my friends message.
‫So Java talked to us, displayed this message.
‫Hello my friends using the command System.out.print.