how to get the integer value of a car in java code example Example: print out value java System.out.println('value')