In order to use a predefined method, you only need to know the name of the method. and the type of each parameter. code example
Example: methods in java
A method in java is a group of statements to carry out some operation also
known as functions.