Java · Easy
Difference between abstraction and encapsulation.
JavaOOP
Answer preview
Abstraction — hides complexity — it exposes only the relevant behavior and hides implementation details. It answers "what does the object do?"…
Java · Easy
Answer preview
Abstraction — hides complexity — it exposes only the relevant behavior and hides implementation details. It answers "what does the object do?"…