Methods


A method is a collection of statements that perform some specific task and return result to the caller. Methods allow us to reuse the code without retyping the code. In general, method declarations has six components :




      “The Cryptogram” is full of wit, though it’s not exactly a barrel of laughs.