-
I'm very intrigued on this and I'd like it if someone with experience could give me some advice on my question, it would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These are some, but not all of the elements which can be involved in object oriented programming: Class - A logical entity that defines the blueprint from which an object can be created or instantiated. |
Beta Was this translation helpful? Give feedback.
These are some, but not all of the elements which can be involved in object oriented programming: Class - A logical entity that defines the blueprint from which an object can be created or instantiated.
Inheritance - A concept that refers to an object gaining all the properties and behaviors of a parent object. It provides code reusability.
Polymorphism - A concept that allows a task to be performed in different ways. In Java, we use method overloading and method overriding to achieve polymorphism.
Abstraction - A concept that hides the internal details of an application and only shows the functionality. In Java, we use abstract classes and interfaces to achieve abstraction.
Encapsulation…