Sign in to follow this  

static member methods

Recommended Posts

Static class methods can access only static class members. It is a syntax error for static methods to access non-static class members. If you need to manipulate non-static class members, then having all static class methods wouldn't be a good idea.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this