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
- Maximum Power transfer occurs when the_____
- Resolution of analog to digital converter is given by_____
- What is the time complexity for accessing an element at a specific index in an array?
- What is the time complexity of the optimal dynamic programming solution to the 0/1 Knapsack problem with n items and capacity W?
- Which of the following statements about HTTP cookies is correct?
- Which type of SQL JOIN returns all rows from the left table, and the matched rows from the right table (with NULLs where there is no match)?
- A system uses paging with a page size of 4 KB and a logical address space of 32 bits. How many bits are needed for the page offset, and how many entries wo...
- In contiguous memory allocation, which statement correctly compares the Best-Fit and Worst-Fit memory allocation strategies in terms of fragmentation behav...
- Which statement is TRUE regarding Norton theorem?
- Which of the following algorithms is a classic example of the Divide and Conquer paradigm?
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)