The question is pretty straight forward. For clarity, consider the example below:
// Note that none of the class have any data members // Or if they do have
Yes they will. Actually in your case the size will be 1. In C++ a class even without any data member will have a size of 1.