Question
A software developer is designing a banking application where each bank account object should restrict direct access to its balance variable to prevent accidental modifications. Instead, the application allows access to the balance only through specific methods like getBalance() and deposit(), which include validation checks to ensure that operations are secure and valid. Which object-oriented programming principle is the developer applying to achieve this data protection?
More IT Operating System Questions
- Given tables Employees(emp_id, name, dept_id, salary) and Departments(dept_id, dept_name), which query correctly returns department names having an average...
- Which concept in cloud ensures that resources can handle increased load without degrading performance?
- A bank keeps sensitive customer data on its own on-premises infrastructure for compliance reasons, but uses a public cloud provider for its non-sensitive, ...
- Handshaking is :
- A data analysis task involves evaluating an arithmetic expression represented as a binary tree. Which traversal method is most suitable for generating a po...
- Which of the following is used to implement recursion?
- Which type of operating system processes a group of jobs together without user interaction during their execution?
- What is the primary purpose of Named Entity Recognition (NER)?
- What is the primary goal of disk scheduling in operating systems?
- Which of the following statements about star topology is correct?
Relevant for Exams:
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)