Possible Duplicate:
What are access specifiers? Should I inherit with private, protected or public?
Difference between private, public and protected inheritance in C++
To all you cpp experts, In c++ inheritance,
class B : public A {
};
I am just curious why is the keyword public needed here? Does it mean something?