Hi All,
I have some attributes which are const, so should these attributes be made public or protected ?
I was in support of protected because it is used by some of the derived classes, but my friend argued that since it is const, it doesnt make any difference even if it is public, which also makes some sense.
But, as I learnt cpp, I thought if possible, we should try to make attributes protected or private and use accessors to change them ??
Thanks.