Question: In JAVA: 1. What is the difference between an Array and ArrayList. Explain using an example(Example should not be too easy.) 2. What is encapsulation,
In JAVA:
1. What is the difference between an Array and ArrayList. Explain using an example(Example should not be too easy.)
2. What is encapsulation, inheritance and polymorphism. How do you apply it?
3. What is abstract classes and interface?
Explain each question with different example.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
