Question

Explain accessibility rules for packages in java.

15 Sep 2022
Answer :
Word Count : 232

In Java, accessibility rules determine which parts of a program can be accessed from other parts of the program. There are four access levels in Java:

  1. public: This means that the member is visible to all parts of the program and can be accessed from anywhere.
  2. protected: This
______ ___ ___ ______ __________ ___ ________ _______.
_______ _____ ______ _________ _____ _____ ____ ________ ________ ____ ___ ____.
__________ ________ ________ _______ __________ _____ _____ _______ ______ ________ ________.
___ __________ ____ ________ _____ ________ ____ ____ ___ _______.
__________ ___ ______ _____ _______ _______ _______ __________ _____ __________.
______ _______ ___ ___ ______ _____ _________ _______ _________ ___ ________.
_________ ____ __________ __________ ________ __________ _____ _____.
_______ _____ ____ ___ _____ _______ __________ ______ ____ ___ ____.
_____ _________ ________ ________ ______ _______ __________ ______ ________.
___ __________ _____ _________ __________ ____ __________ _________ ___.
_____ ______ _______ __________ ______ ______ _____ ______ _________ _____ ________ ________.
_________ ______ __________ ________ __________ _____ __________ _________.
______ ________ ______ _____ _________ ________ ______.
_________ ___ ______ _______ __________ ____ _______ ________ ______ ____.
_______ _______ _______ _______ __________ _________ _________ _______ ________ _______ _________ ________.
____ _________ ____ __________ _____ ____ ___ _____ ____ ___.
_______ ____ ____ _____ ______ ______ _________.
____ ___ ____ _________ _________ _______ _________.
____ _____ _______ ___ _____.
__________ _______ _______ __________ _____ ___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 24 2022 2023 - Explain accessibility rules for packages in java. | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→