That worked !!! Thanks :-) but also i had to remove public modifier of class Addition2.. why is that?
Type: Posts; User: Shivafeb17
That worked !!! Thanks :-) but also i had to remove public modifier of class Addition2.. why is that?
I send 3 values to add function, the values are calculated in class Addition, After that, the result is sent back to the main fiunction, so that the values are received in (temp1, temp2)variables....
Testing This Forum