Question: program should be in java Q 1. Take any scenario of your own that implements four pillars of object-oriented programming. Only implement the code and

program should be in java
Q 1. Take any scenario of your own that implements four pillars of object-oriented programming. Only implement the code and give comments where pillars are implemented i.e., Inheritance, Encapsulation, Polymorphism, Abstraction. Take screenshots of code and output and paste as an answer (20)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
