salesforce - Sales force default access -


what default access specifier in sfdc?

eg if declare class as:

  class myclass{       //code    } 

then default access specifier class?

you cannot define outer class without access modifier, must specify public or global. if try you'll compile error:

save error: top-level type must have public or global visibility

inner classes on other hand not require access modifier , private default.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -