In classes, when not specified, which type do the functions/variables belong to?

In classes, some functions/variables are public, private, or protected, but there are others that don’t have a specifier before them. Are they by default public?

Thanks,

Chenglin

They will be private by default.