A return type is a required part of any method, because it tells the computer what the user wants to be returned to whatever called (used) the method. If an integer was expected, then typically the method would have a return type of codice_1, as int is the common name for an integer in computer science. There are several return types that can be found to most programming languages.