August 17, 2017
We learned about what a method is and the importance of a main method. A method is basically like a function, which means it’s like a group of statements that perform some kind of operation. But in order for you to run your program you have to ensure you have a main method. Because without it, the computer will not know where to start executing the code.
Additionally, we learned about what an argument is. In the process, some of us may have bumped into the concept of a parameter since the two terms are very similar. However, they are not the same thing. While a parameter is basically the variable being passed, the argument is the value of the variable or simply a value if there was no variable given to it.