Check out example codes for "console log java". It will help you in understanding the concepts better.

Code Example 1

System.out.println(String msg)

Learn ReactJs, React Native from akashmittal.com