Flashcards
Chapter 4
Flashcards do conjunto (4)
- 1access modifier PUBLICThe method can be called from any class
- 2Access modifier: PRIVATEThe method can only be called from within the same class
- 3Access modifier: PROTECTEDThe method can only be called from classes in the same package or subclasses
- 4Access modifier: Default (Package Private) AccesThe method can only be called from classes in the same
package. This one is tricky because there is no keyword for default access. You simply omit
the access modifi er.
Informações
- Descrição
- OCA Java FlashCards sobre Chapter 4, criado por Everton Gonçalves em 22-11-2018.
- Criado por
- Everton Gonçalves
- Visualizações
- 0
- Avaliação