OOPS in Java
On HashNode I would be sharing my understanding of the topic. My goal is to create helpful content for the community in making tech easy to learn. My audience can find practical and hands on about any topic related to IT infra including, DevOps and cloud.
Using java we can learn Object oriented programming structure(OOPS) very fluently
Every object oriented programming has four paradigms:
- Encapsulation: It simply means putting all the data/functions altogether in one place as we do when we define classes.
- Abstraction: It means we only care about input or output and we do not care about implementation. There is advantage here if we want to optimise our code, we can do without knowledge of user.
- Inheritance: It means that if we require to define a class which has common features we can simply inherit from parent class.
- Polymorphism: The function of object which we initialized is to be invoked at run time.





