✅ Ive made my void method too long and i wanna take some variables out of it, how can i do this?
?
4 Replies
If a method — void or not — is too long, you can split it into more methods
how does one do this? for some sections inside the void method, can i change them into methods and move the sections outside the void method and call them inside replacing the sections instead?
can turn into
GOT IT
got it working
thank you!