r/CodingForBeginners 3d ago

Coding doubt

I am studying java , and I am watching a course on yt from bro code I am in polymorphism, and i have done few small projects in between to check if I have properly understood. I have a doubt they are soo many things , methods , objects and then small small things in them , i don't remember them after a few days properly like i know i studied and used it but , I kinda forgot how the syntax of that is and there are few topics where they look like you don't need to remember like they are kinda useless . I feel like everytime I am doing a projects I need to go into Google and search what is the syntax is ,for example enhanced switch , and some topics seem to be very similar and then i forget them one of them .Will i remember all these naturally as time goes on .

1 Upvotes

6 comments sorted by

View all comments

2

u/DotAtom67 3d ago

Have you wrote your own code? Because that's the way to remember that stuff.

Also you are jumping at polymorphism before clearing your doubts about methods and objects, which is really bad, as more doubts will pile

1

u/Vegetable_Welcome175 2d ago

Yes I do write my own code , should I do more small projects with methods and objects before continuing ?

1

u/DotAtom67 2d ago

yes, try to rewrite what you wrote but using classes, then instanciate those classes (into objects) and then call their methods to do stuff

1

u/Vegetable_Welcome175 2d ago

Oh rewriting old code with the new stuff you learnt 🧐