Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Why is this error showing NewAge2.java:17: error: cannot find symbol newAge = currentAge + (YEAR - currentYear); ^ symbol: variable YEAR location: class NewAge2 NewAge2.java:23:
Why is this error showing NewAge2.java:17: error: cannot find symbol newAge = currentAge + (YEAR - currentYear); ^ symbol: variable YEAR location: class NewAge2 NewAge2.java:23: error: cannot find symbol System.out.println("I will be " + newAge + " in "+YEAR+"."); ^ symbol: variable YEAR location: class NewAge2 2 errors Error: Could not find or load main class NewAge2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started