Members are public in the default struct and private in the class.
When inheriting a class from something (struct or class), if you don't specify an access modifier, the inheritance will be private.
When inheriting a struct from something (struct or class), if you don't specify an access modifier, the inheritance will be public.
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати