The only difference between a class defined with the class keyword or the struct keyword is the default access level:
By default ,member in a struct are public; those in a class are private.
The only difference between a class defined with the class keyword or the struct keyword is the default access level:
By default ,member in a struct are public; those in a class are private.