Yes; but, put bluntly, that's wrong. What you think of an object is really just a struct.
If you look at wikipedia, you'll get two definitions of what an object is. There's a very generic one:
In computer science, an object can be a variable, a data structure, a function, or a method. As regions of memory, they contain value and are referenced by identifiers.
which you'll often see outside the context of OOP, and there's a more specific definition on the article on object-oriented programming that states:
A feature of objects is that an object's own procedures can access and often modify the data fields of itself.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes; but, put bluntly, that's wrong. What you think of an object is really just a struct.
If you look at wikipedia, you'll get two definitions of what an object is. There's a very generic one:
which you'll often see outside the context of OOP, and there's a more specific definition on the article on object-oriented programming that states: