domingo, 31 de enero de 2016

Java - How to print a message to the Console log

Hi!
This trick is very simple but very useful.
The way it's done is:

System.out.println("Hello world!");

And that's it! You can also try with a String variable, like this:


String m="Welcome to #CodeTricks";
System.out.println(m);

Done!
Share this post with your friends!

No hay comentarios.:

Publicar un comentario