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
- What is a key characteristic that distinguishes a "thread" from a "process" in an operating system?
- Length of IPv6 address is _____ bits.
- What is the primary goal of code optimization in software development?
- Binary Search is an efficient searching algorithm that follows the Divide and Conquer approach. What is its time complexity?
- What is the purpose of the #include directive in C/C++ programming?
- Which of the following CPU scheduling algorithms is non-preemptive, meaning a running process cannot be interrupted until it voluntarily releases the CPU?
- In a switch statement (e.g., C++, Java), what happens if a break statement is omitted from a case block?
- Which of the following statements accurately describes the object-oriented programming (OOP) support in Java and C?
- Using the Shortest Seek Time First (SSTF) disk scheduling algorithm, the disk head starts at cylinder 53, and the pending request queue is 98, 183, 37, 122...
- Which relationship is depicted in the given figure?
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)