N
//declare a function like this:
void function(int parameter1)
{
//function body
}
//call the function like this:
function(1);
N
static void myMethod() {
//LINES OF CODE
}
N
public class main {
public static void function {
// Write your code here
}
}