geting value and display value java code example Example: print out value java System.out.println('value')