отображение на Java

// To Log (Display Message) while app/program is running:
System.out.println("YOUR_MESSAGE_HERE");

// If you want to display value of some variable use this:
String someVariable = "Any message here";
System.out.println(someVariable);
Stacking Titan