how to call one method from another method
hi im new here :)
im having difficulties in calling a method from another method
ive read a few threads but nothing make sense for me
at first i call a method, i name it methodA because there are tons of methods in my assignment, then in methodA i invoke method B, the arguments passed are in the class of methodA. So then i invoke methodC in methodB, which the arguments passed are in the class of methodB.
Now i have three methods, the problem is, in methodC, i prompt for user selection, either to perform operation in methodB or back to the main menu which is methodA, how could i possibly pass them back to methodA or B without arguments (because arguments are not in that method, i do not have a argument to pass back to A or B)
i hope you guys can understand the problem i have. And can someone explain how and why? greatly appreciate