I never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.
Now that you mention it, I do remember learning about features of OOP in my 9th grade Java class. Inheritance was one of them. There were other terms as well that I can't recall clearly.
tankies owned
Is this some sort of OOP joke I'm too Rust to understand?
I never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.
Classes have inheritance. Rust structs don't.
Now that you mention it, I do remember learning about features of OOP in my 9th grade Java class. Inheritance was one of them. There were other terms as well that I can't recall clearly.