So I'm quite new to OOP and Java in general. I've been going through my textbook on the 4 most fundamental concepts of OOP programming but it's quite confusing.
The textbooks states "A class can change its functioning or variable type and the user would not need to change their code" as an advantage of Encapsulation, but to me that sounds like Abstraction...
Also, the textbook lists Overriding and Overloading as forms of inheritance but Google is telling that Overriding and Overloading are forms of Polymorphism.
Can someone clear this up for me?