T
Tony Johansson
Hello!
If you have a class declaration like class Test below will number be public
or private. I mean if you don't specify explicitly what is the default
access.
And in the inheritance declaration below where we have class Derive inherit
from class Base what type of inheritance is it there public or private?
class Test
{
int number;
};
class Derive : Base
{
};
//Tony
If you have a class declaration like class Test below will number be public
or private. I mean if you don't specify explicitly what is the default
access.
And in the inheritance declaration below where we have class Derive inherit
from class Base what type of inheritance is it there public or private?
class Test
{
int number;
};
class Derive : Base
{
};
//Tony