posted 14 years ago
I had an original code:
I was then supposed to change Triangle to a static method and delete the class TriangleCalc. What is a static method and how do they work? I tried what I could do (below), and got an error. I am unsure of how to include a static method in a main method. Here's my code:
Thank you!!