No.
Sometimes thinking about the definition and translating it into Java is all you need to do. But sometimes you need to think about what happens when the program runs. In this dynamic view you think about the sequence of events as the method is actually executing.
Here is a statement from main()
:
int result = tri.Triangle( 4 );
When a statement like this executes the method
Triangle()
is said to be activated
with an argument of 4.
It does some computation and returns a result, 10.
Let us picture this as: