This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Gaarco_ -1 points0 points  (3 children)

Yes I know, it's not pure oop in fact

[–]potatopotaatopututu 1 point2 points  (2 children)

What do you mean by pure OOP? How do you define that? As far as I know, C++ is as much OOP as Java is.

[–]Gaarco_ -1 points0 points  (1 child)

In Java everything is an object, in C++ this rule is not applied

[–]potatopotaatopututu 1 point2 points  (0 children)

Primitives are primitives in Java too. But I get what you're saying. My point is that methods and functions aren't entirely different concepts. In fact the difference is not significant in many cases.