Method
In object-oriented programming method is a named code block that performs a task
when called.
In every object-oriented language, all of an application’s cations must take place within a method. In most object-oriented programming languages, if a class contains only one method that executes, the method is called the main method.
Sources:Dictionary of Computer and Internet Terms (Vol. 1) John C. Rigdon, 2016 – 1471 c. – 770
Joyce Farrell An Object-Oriented Approach to Programming Logic and Design, - 2010. – 486p. – 58