methods in java:Methods are the instructions those operate on an Object's data to obtain the results. A method has header and body. header has the declaration part and body has implementation part. Method also has some signature and return type. Method can also have some modifier like abstract, native, final, synchronized etc.