We call them 'methods' in Java
Well I did not make my living programming. I only started playing with Java when I picked up Rising World after I retired from 50 years of engineering and engineering management. Programmers built their routines to my specifications and from my feedback input on how the machines should behave in practical application. I had Fortran with WatFor and WatFiv in undergrad College run on punch cards on a main frame that had a one week turnaround for output. I did take one PLC class years later in post grad. Forgive me for messing up the vernacular as we always called them computer routines or applications. But hey I guess if I can learn to make the JAVA thingie do what I want, I can call it a 'method' in here so I won't get laughed at near the water cooler. Thanks for the heads up