Given a string value, how can I display it on the screen in my console? What do I have to write to make that happen?
As an example, this is the code I have so far:
public class Main {
public static void main(String[] args) {
String message = "I am a school student and just started learning Java.";
// What to write next?
}
}
It works, but it obviously does not display the value on the console yet. What do I have to write to show it?
I want it to look something like this:

But all I get is this:
