+ 1
Hey guys I new, and I'm really trying to understand what is meant by Java being an object oriented programming language. Help?
OOP
2 Respostas
0
In an Object Oriented Language data (properties) and actions (methods) are tied to a concept. E.G. the hight or colour of a window is attached to the window object.
0
class is like a blueprint which provides the map to how build things based on it
an object is an implementation of that blueprint. a class can have various objects with each being unique and having an implementation of that class.(even if their implementations are same, they are not the same object, they are separate entities)
when you want to make an app you will probably want to group some parts of it into same categories based on how they are related to and might be similar to each other(like putting cat, dog, lion into a category named Animal). we need classes to make building and management of the app easier for us
Java is an OOP language which means it is provided with this feature and style of coding
there are some concepts you must learn to understand OOP programming like: Abstraction, Inheritance, Encapsulation, Polymorphism