Start learning 50% faster. Sign in now
Abstraction is a core concept of OOP that focuses on hiding unnecessary implementation details while exposing only the essential features of an object. This is achieved through abstract classes and interfaces. For instance, a Car class might expose methods like start() or drive() without detailing how the engine works internally. Abstraction simplifies the development process by allowing programmers to focus on high-level logic rather than low-level complexities. It also enhances security by preventing direct access to sensitive parts of an application. Why Other Options Are Incorrect : 2. Restricting access to certain parts of an object to protect data : This describes Encapsulation , not Abstraction. Encapsulation involves bundling data and methods together and using access modifiers to control visibility. 3. Combining different objects into a single unit to represent a relationship : This describes Aggregation , where objects are linked to represent "has-a" relationships, like a Library having Books. 4. Allowing multiple classes to share the same method name but with different implementations : This defines Polymorphism , specifically method overriding or overloading, and is unrelated to abstraction. 5. Establishing a parent-child relationship between classes : This is Inheritance , where one class derives from another, enabling code reuse and hierarchy building.
A person invests ₹80,000 in a mutual fund. The investment grows at a rate of 8% per annum, compounded annually. After 3 years, he decides to withdraw ...
An article is marked 35% above its cost. If a profit of 20% is earned by selling the article, then the discount per cent offered on the marked price of ...
Amit deposited Rs. 15,000 into an investment with a 12% annual compound interest rate for a duration of two years. Calculate the total interest earned b...
A sum of ₹20,000 is invested at an annual interest rate of 10% compounded half-yearly. What will be the total amount after 2 years?
Mr. Kalra borrowed ₹1,55,000 to meet the expenses of his son's education. If the rate of interest is 12% per annum compounded annually, then how much ...
What is the difference between the compound interest, when interest is compounded 5-monthly, and the simple interest on a sum of ₹12,000 for 1(1/4) y...
A sum of money is invested at a rate of 12% per annum compound interest for 2 years. If the total amount after 2 years is ₹11,520, what is the princip...
Find the compound Interest on Rs. 16,000 @15 % p.a for 2 years 4 month Compounded annually?
Soni gets a SI of Rs. 3360 on a certain principal at the rate of 7%p.a. in 3 years. What CI will she get on twice the principal in two years at the same...