Abstraction in object-oriented programming means hiding complex internals but to expose only essential characteristics and behavior with respect to context. In real life, an example of abstraction is an online shopping cart, say at any e-commerce site. Once you select a product and book order, you are just interested in receiving your product on time.
How things happen is not what you are interested in, as it is complex and kept hidden. This is known as abstraction. Similarly, take the example of ATM, the complexity of internals of how money is debited from your account is kept hidden, and you receive cash via a network. Similarly for cars, how petrol makes the engine run the automobile is extremely complex.
Posted Date:- 2021-09-30 06:32:06
What are the characteristics of an abstract class?
What are the manipulators in OOP and how it works?
. What is the difference between a class and a structure?
How many types of constructors can be used in Java? Please explain.
Can we run a Java application without implementing the OOPs concept?
What is Garbage Collection(GC)?
What is the difference between a class and a structure?
How is data abstraction accomplished?
What are different access modifiers in Java?
Can you please highlight the difference between a class and a structure?
What is meant by a copy constructor?
Are class and structure the same? If not, what's the difference between a class and a structure?
List the various types of constructors
Explain Abstraction with a real-time example.
Why is a need for Object-oriented programming?
Is it always necessary to create objects from class?
How much memory does a class occupy?
How does C++ support Polymorphism?
What are some advantages of using OOPs?
What are the main features of OOPs?
What is meant by Structured Programming?
Explain Is Java a pure Object Oriented language?
What is Structural programming?
What are the different types of inheritance?
What are some other programming paradigms other than OOPs?
What are some major Object Oriented Programming languages?