Use an internal Method or Make a class file?
I have a simple math function that needs to be done several times in my program. When is it better to make it just a method to be called in the program and when is it better to make it a new class file to be included in the project? I am thinking that if its something you might like to use later in another program you would use a class. BUt is that the only logic for making that decision?
Thanks, just basic low level java theory here. I'm trying to grasp the basics and good programming techniques for my foundation.