3 ms·
I think Java gave 2 to ways to deal with this: There is “public” within a module, and “public” for other modules. This is not on a per method basis, though. A
by jiehong 3y ago
I think Java gave 2 to ways to deal with this:
There is “public” within a module, and “public” for other modules. This is not on a per method basis, though.
And you can make a method “package-private”, and you can then test it right a way.