Abstraction allows a programmer to focus on essential features of an object while ignoring the underlying complexity. It defines the "what" of functionality without exposing the "how." For example, an interface Vehicle may have a method drive() without specifying how it operates. Different classes like Car and Bike can implement drive() in their way while hiding their internal details. Abstraction is achieved using abstract classes and interfaces. It simplifies system design by providing a clear separation of concerns, enabling developers to focus on high-level interactions rather than low-level details. Why Other Options Are Wrong Option A : "Inheritance" Inheritance enables code reuse by sharing functionality but does not inherently involve hiding implementation details. Option C : "Encapsulation" Encapsulation protects and restricts access to data but is more concerned with access control than hiding implementation logic. Option D : "Polymorphism" Polymorphism deals with dynamic method binding and does not focus on hiding details. Option E : "Composition" Composition models "whole-part" relationships and is unrelated to abstraction.
What is the total project cost for Durgesh Aranya Zoological Park in Kangra, Himachal Pradesh, which is set to be India’s first IGBC-certified zoo?
Which airbase hosted Exercise Eastern Bridge VII, involving Indian and Omani air forces in 2024?
Consider the following statement about SURYA KIRAN:
1. The 17th edition of Joint Military Exercise SURYA KIRAN conducted in Pithoragarh, Uttar...
Which of the following statements is correct regarding the achievements and characteristics of the Gevra and Kusmunda coal mines?
Which state government has launched a scheme to provide personal loans for prisoners with the aim to improve the living standard of the families of the ...
Recently which country ’ s Abdulla Yameen was sentenced to 11 years in prison for money laundering and bribery?
How much does the Indian government plan to invest in river cruise tourism and green vessel development by 2047, according to Union Minister Sarbananda ...
Identify the Indian state where Shree Kalaram Mandir is located:
Which company announced its collaboration with NITI Aayog's Atal Innovation Mission (AIM) to establish Frontier Technology Labs (FTLs) in schools of str...
Consider the following Statements in Regards to Wings India 2024:
1. Begumpet Airport, Hyderabad hosts the aviation extravaganza.
2. It is...