Computer Science, asked by lovescience, 1 year ago

what is method in java program

Answers

Answered by tiwariakshat45pcfanu
0
A method is a set of code which is referred to by name and can be called (invoked) at any point in a programsimply by utilizing the method's name. Think of a method as a subprogram that acts on data and often returns a value. Each method has its own name.

lovescience: thank you
tiwariakshat45pcfanu: welcome
Similar questions