A method is basically a set of code which is referred to by name and can be called or invoked at any point in a program, just by utilizing the method’s name. Each method is given its own name. When that name is in a program, the execution branches to the body of that method.
A method is basically a set of code which is referred to by name and can be called or invoked at any point in a program, just by utilizing the method’s name. Each method is given its own name. When that name is in a program, the execution branches to the body of that method.
TAP ON ATTACHMENT FOR ANSWER: