In a method call, what is the purpose of an argument?
A parameter is sometimes described as "acting as a placeholder." What does this mean?Alice Programming Question?
the purpose of an argument is to pass information to the method so i can use this information in whatever calculations the method is doing.
"acting as a placeholder" means that you have gotten to a point in coding where its necessary or helpful to create something, but you aren't yet ready to create the actual code you need so you create something simple with the intend to come back to it in the future to create the final version that you actually need.
No comments:
Post a Comment