Java, Spring, Microservices, Interview, Coding.
and data into a single unit e.g. class or method to protect inner working of an object from outside world. In other words, Abstraction means extracting common details or generalizing things. 3) Abstraction lets you focus on what the object does instead of how it does, while Encapsulation means