What is the difference between creating an object vs making a method or class static in Java?

Viewed 28

When do I want to create an object and when do I want to make my methods or classes static? Is it a performance issue memory wise? Or what is the logic? Why would I do one over the other?

0 Answers
Related