This just occurred to me while writing a struct for my project, instead of a class:
With just one significant difference between structs and classes as mentioned here, what was the main reason to include the 'class' keyword in c++?
Has it been included for its comparativeness to other major object-oriented languages, Java for e.g.?