nus-cs2113-AY2324S2 / forum

2 stars 0 forks source link

Refactoring into a different class #10

Closed kyhjonathan closed 3 months ago

kyhjonathan commented 4 months ago

Hi! After Friday's lecture I had a question regarding refactoring. Is there a way in refactoring a method into a different class rather than it being placed at the bottom of the class that was refactored from? (e.g. I refactored a method from main and its put into the bottom of main, but I want the method to be automatically placed in another class called Tasks)

okkhoy commented 4 months ago

See if this helps?