AKA Method Calls.

AKA Method Calls.



Answer: An invocation of a method that returns a value can be used as an expression anyplace that a value of the typeReturned can be used:typeReturned tRVariable; or tRVariable = objectName.methodName();


Learn More :