News

The Java Shell assumes that age is a variable, but it doesn’t know its type. You would have to include a type; for example, see what happens if you enter int age. How to write compound expressions ...
Use the parse method of another wrapper class. Use the deprecated constructor of the Long class and autobox into a primitive long. Use the parse method of a different wrapper class, such as Integer.