Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7
A class that is accessible everywhere is a public class if you dont declare access specifier, it will be automatically became private and connot be accessed elsewhere aside from that class and the friend of that class another access specifier is the protected which can be accessed by same and derived class
29th Oct 2019, 7:08 AM
MCGAmedCoder gamerArtist
MCGAmedCoder gamerArtist - avatar