Start learning 50% faster. Sign in now
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.
Law of diminishing return was proposed by :
The pH value of alkali soil
Licensing and registration of food business in FSSAI are covered under which section:
To use the exact same font type, size and colour in the title of all the slides in a PowerPoint presentation, you will:
Recently Finance Minister, Nirmala Sitaraman spoke about “shrianna” while presenting union Budget 2023. Shrianna referred to as
What technological advancements have been launched by the Centre in the context of crop insurance?
Name the housing system of poultry envisages the accumulation of the material used for litter with poultry manure until it reaches depth 8-12 inches
Isabgol is propagated by
The point at which CO2 uptake exactly balances CO2 release is called
Potassium helps in maintaining cytoplasmic pH between