Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7821499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:40:09+00:00 2026-06-02T07:40:09+00:00

i am reading a book and it says: Two access modifiers you have looked

  • 0

i am reading a book and it says:
“Two access modifiers you have looked at so far are public and private. If a
method or property of the base class is exposed as public, it is accessible by both the derived class and
any client of the derived class. If you expose the property or method of the base class as private, it is not
accessible directly by the derived class or the client.”

what does the ‘client’ means?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:40:10+00:00Added an answer on June 2, 2026 at 7:40 am

    A client in this context means a piece of code outside the class (neither part of the class nor part of a derived class) which uses the class.

    That’s it, really. Like the client of a bank or the client of an accounting firm, it’s something that uses the thing you’re discussing (be it bank, accounting firm or class).

    Public and private (and other variations) allow you to control how much of the internals of your class are exposed to the outside world. Minimising this exposure is known as encapsulation (information hiding) and is generally considered a good thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just started reading a Hibernate book and it says go to Hibenrate.org
I'm reading a book which says not to use such a code: private volatile
The book I am reading says that SQL Server supports two kinds of character
I'm reading a book that recommends clicking a check box that says Place code
I'm reading a PHP book where the author says that symbols should be avoided
a) Can Object.GetType also be used for late binding ( Book I’m reading says
Reading a book I have found the following statement: (Object) Behaviors answer either of
I'm reading Effective C++ and came across this example: class Window { // base
I'm reading a book about C++. The author shows this enum: [Flags] enum class
I am reading one book which says Rather than setting the DialogResult by hand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.