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:
A static method is a method defined with the "static" keyword.
You say you "got an error", but neglected to provide any information about the error.
Joined: Sep 23, 2009
Sorry about that, I tend to ask for help without providing critical information :P One error says illegal start of expression. Another says need a semi colon. Why would I ever need a semi colon between two brackets?