You need to sign in to do that
Don't have an account?

Why can't we use private variables on visualforce pages?
If we can't use private variables on visualforce pages then where we can use it ?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
If we can't use private variables on visualforce pages then where we can use it ?
Private keyword is used when you don't want the variable to be accessed or modified outside the apex class where it is defined. More info here