Pass Arguments from 1 class to another class


Please help me with the code to pass Args between one class (Class A) to another class (Class B). If Class B is getting called from Class A

you should have a look at Args class use to pass parameters on Axapapedia

you can use parm methods, please explain your requirement with an example

I have a variable named DATE , which I am generating in Class A, this value in variable named DATE, I have to pass in Class B. I am calling the run method of class B in Class A, but when I am passing argument in run method, it is throwing me error. please help

In object-oriented programming, you use methods to pass messages between objects.
Regarding your bug in calling run(), we can’t help you unless you explain your problem. Start with tell us which error did you get, when (compilation / runtime) and at which line of code.