methods

 

introduction
 
    
    A method is code that would perform a very specific task.

Methods can be part of the language, or can be user defined.

/* you have already worked with methods: readLine(), readInt(), equals() println(), these are language defined methods, methods already written in the Java compiler */