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
- Which of the following statements accurately describes the characteristics of a primary key in a relational database?
- Which of the following conditions must be satisfied for Dijkstra's Algorithm to work correctly?
- Which of the following sorting technique is an example of Divide and Conquer technique?
- Which of the following conditions is essential for applying dynamic programming to a problem?
- The Binary equivalent of the Gray code 1011 will be:
- If a set 𝐴contains 4 elements, how many elements are there in its power set?
- Round Robin quantum is 4 ms. P1=5, P2=6, P3=3, all arrive together. What is completion order?
- Which of the following is a challenge in machine translation?
- Which is best fit for blank space 16?
- Which statement is FALSE about open loop system?
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)