Public Access Flashcards
1
Q
Remind me of the definition of public access !
A
a public method can be accessed from inside and outside the package by any
class
2
Q
Run code for all scenarios involving a public access member !
A
An access to a public method can be attempted :
- from within the same class
- from a class within the same package
- from a class outside the package