Hello all,
Can A variable defined and used in one task, in one class, be used as it is in another class?But these two classes are completely independent of each other,in other words, they are not inherited from one another. So with this situation, can a variable defined in class Driver, be utilized in class monitor? For eg, I need to use a variable pkt_length (defined and used in driver class) in monitor class also so that I can use it in order to get the packets unpacked in monitor class.
Please help me with this querry. Thanks,