Create a object for guessing game class
GuessingGame guess = new GuessingGame();
guess.methodname();
Type: Posts; User: iCoder
Create a object for guessing game class
GuessingGame guess = new GuessingGame();
guess.methodname();
length is not a method, use it like a property.
username.length; not as
username.length();
ur method type is void, it means it doesn't RETURN any value.