Solved java.util cannot find symbol error

July 16, 2012 at 12:42:14
Specs: Windows 7
Calendar cal = Calendar.getInstance();
int nowDay = cal.get(Calendar.Date);

on the second line, or whenever i use one of the calendar's functions, i get an error that says
"cannot find symbol". I'm not even sure if any of the above is correct, I just saw it on some website. Does anyone know how to fix this, or at least a more reliable source of information? Thanks!

See More: java.util cannot find symbol error

Report •

July 18, 2012 at 12:01:55
Based on what i see there, my guess is that a variable was misspelled, or a class was improperly declared, or misspelled. At least that's what this error usually means when i type something up

:: mike

Report •

July 18, 2012 at 14:26:20
✔ Best Answer
Actually I figured it out, I should have typed Calendar.DATE instead of Calendar.Date.

Report •

Related Solutions

Ask Question