r/learnprogramming • u/DatabaseMother5141 • 25d ago
Suggestions regarding programming
I'm 18. I'm currently learning Java and I feel I'm unable to understand stuff in it, especially object oriented programming. The practice feels like I'm falling behind.
16
Upvotes
View all comments
Show parent comment
1
u/Traditional_Vast9419 25d ago
In Java, the garbage collector is a separate mechanism from a Class, and structs have no inheritance.