We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In the
" System.out.println("Age is not valid, setting age to 0 ."); "
there is an unexpected space after 0.
You should just copy the output from the web like this:Age is not valid, setting age to 0.
Day 4: Class vs. Instance
You are viewing a single comment's thread. Return to all comments →
In the " System.out.println("Age is not valid, setting age to 0 ."); " there is an unexpected space after 0. You should just copy the output from the web like this:Age is not valid, setting age to 0.