aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Programming Fundamentals with C++ Concepts
  • Can the private data members of a class be modified or ac...
Multiple choice technology programming languages

Can the private data members of a class be modified or accessed outside the class, without using member functions.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer

Keep practicing — related questions

  • A private member can be accessed only by the
  • A _______________ function can access a class private data, even though it is not a member function of the ...
  • A subclass can access the private member variables of its own superclass
  • Access to an object only through its member functions, while keeping the details private is
  • A sub class can access private members of the super class.
  • Providing access to the object only through its member functions,while keeping the details private is calle...
  • An object pointer can point to private members of a class.
  • When we are making all data members of class private, which property of OOP are we using?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Object-Oriented Programming (2239 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy