Classes are similar to structures, but they can also have member functions and access specifiers.
Classes are similar to structures, but the accessibility of the member data and function are governed by access specifiers. By default access to members of a class is private.