Java Java Basics Perfecting the Prototype Parsing Integers

string cannot be inverted to Boolean error: incompatible types: String cannot be converted to boolean
String ageAsString = console.readline("How old are you? ");
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error

1 Answer

Craig Dennis
Craig Dennis
Treehouse Teacher

Did Fahad Mutair 's answer help you lazer shark ? If so make sure to mark it with Best Answer, so he can get the points!

this helped thx.