Methods access level

jrvbdeveloper

Member
Joined
Jul 15, 2007
Messages
17
Programming Experience
Beginner
Hi,

I have a class which has varous methods that I need to make public to only 1 other class. Is this possible? I dont want to make them public for everybody, just that 1 class.

Thanks.
 
Then you have make that class private to the consumer, ie nest it inside the other class and declare it Private.
 
Back
Top