Question #38109

why can't I use guess=0 in private class

Expert's answer

Assigning values to a variable in the class is only possible if it is static or defined functions. This is independent of whether the class of private, public or protected.
LATEST TUTORIALS
APPROVED BY CLIENTS