You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above example will only work is the Test class member foo is made public. The key issue is that it discourages use of the Superclass directly given all member properties and methods must be public.
The text was updated successfully, but these errors were encountered:
diverted247
changed the title
Super class properties forced to use public for subclass access
Super class members forced to use public for subclass access
Aug 11, 2014
///ERROR - Test.foo is inaccessible
VS:
///Forced to make Test.foo public to avoid compiler error
The above example will only work is the Test class member foo is made public. The key issue is that it discourages use of the Superclass directly given all member properties and methods must be public.
The text was updated successfully, but these errors were encountered: