GoConqr has a new look! Let us know what you think.

Flashcards

Access Modifier

BLU BLU German 5 cards

Access Modifier

Cards in this deck (5)

  1. 1Welche Access Modifiers gibt es?- Private
    - Default
    - Public
    - Protected
    Refers to scope or accessibility of a field, method, constructor or class and how it can be changed.
  2. 2ERkläre den private access modifierAnything marked with private is visible only within the same class
  3. 3Erkläre den default access modifier- No special keyword required to denote the data member
    - Visible only within the same package where the data member is defined
  4. 4Erkläre den Protected access modifier- The data member with protected access is visible within same package but outside through inheritance only.
    - A variable, method or constructor can be marked as protected
    - A class can never be made protected
  5. 5Erkläre den public access modifier- Is accessible from anywhere and everywhere
    - Represents widest scope
    -
    Erkläre den public access modifier

Information

Description
Flashcards on Access Modifier, created by BLU BLU on 21/01/2025.
Created by
BLU BLU
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?