mainmethod
nounUK /ˈmeɪn ˈmɛθəd/
US /ˈmeɪn ˈmɛθəd/
The main method is the first part of a computer program that runs when you start it.
When you press run, the computer starts at the main method.
OTHER MEANINGS
2. The most important way of doing something.
Washing your hands is the main method to stop germs from spreading.
3. The biggest or most used way of teaching or solving something in a group.
The teacher's main method for teaching math is using blocks and games.
4. The central step in a set of instructions.
The main method in the recipe is mixing the batter well.