It is used to explicitly return from the current method,which means it transfers the control back to the caller of the method.when a return statement is given it immediately terminates the current method in which it is executed.
public class Return
static int area(int height, int width)
return height * width;
public static void main(String args)
int result = area(200,100 );