Object Oriented Programming - OOP is a concept that a programming language should be satisfying, so that the language can be called as an Object Oriented Programming (OOP) language.
Object Oriented Programming(OOP) language, as the name suggests, is a language where everything is treated as an object.
Anything and everything can be considered as an object. Be it a Human Being or a Car or a Tree or any physical object.
And the beauty of Object Oriented Programming (OOP) language is, it can give a virtual representation of any physical Object.
Well! Go has a little different approach using the Object Oriented Programming(OOP) . We will learn it eventually.
The basic building blocks of Object Oriented Programming (OOP) can be abbreviated as PIE. i.e. Polymorphism, Inheritance and Encapsulation.
Well! Go doesn't support Inheritance. But supports the other two.
They are listed below :