Monday, February 24, 2014

Non Static Variable cannot be referenced?








Hi guys. Very new so trying out a few exersizes. Im getting a syntax error saying I cannot reference a non static variable from a static perspective.







How this is happening is with my variables declared in the beggining. When outputting those variables in my last statement, I am not allowed to.







The source is below. Could anyone share some clarity on this issue?








Thanks!.






















No comments:

Post a Comment