Methods in Java

A program is a set of instructions given to a computer. These instructions initiate some action and hence sometimes called executable instructions. In Java programs, the executable instructions are specified through methods or functions. A method is a sequence of some declaration statements and executable statements. As Java is strictly object-oriented, any action can take … Continue reading Methods in Java