what is the default type of inheritance?

for example
class A
{
...
};

class B: A
{...};

here, the inheritance of B from A is private or public?
try compiling this code and see.. :)
Topic archived. No new replies allowed.