r/learnprogramming • u/DatabaseMother5141 • 20d 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.
14
Upvotes
View all comments
Show parent comment
1
u/Traditional_Vast9419 20d ago
In Java, the garbage collector is a separate mechanism from a Class, and structs have no inheritance.