Methods in Java

wrote it long ago .