I have this line of code:
long start = Calendar.getTimeInMillis();
the class imports java.util.* which includes the Calendar class.
When I try to compile it, I get the error:
"non-static method getTimeInMillis() cannot be referenced from a static context"
WTF? Nothing I have declared is static... why is it doing this?
long start = Calendar.getTimeInMillis();
the class imports java.util.* which includes the Calendar class.
When I try to compile it, I get the error:
"non-static method getTimeInMillis() cannot be referenced from a static context"
WTF? Nothing I have declared is static... why is it doing this?
