Forums Register Login
can we call main method from any other method or any other part of the code?
Sure. Main is just a public static method like any other.
In general, though, it's not usually a particularly good idea. A much better approach is usually to write a method which takes appropriate parameters and does what you want. Then you can call that from main, and from wherever else you want:
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 382 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jun 22, 2018 09:17:14.