Creating a method in Java A method is a set of statements grouped together to perform an operation. Generally there are two types of methods. User defined methods : Usually a user creates to add additional functionality Predefinde methods :  Such methods are already written and provided by java such as Math.pow() General syntax for