....
Type: Posts; User: Shivafeb17
Thank you....... :-)
Testing
class Testing1{
int a=10;
void test1Methode(Testing1 testObj1){
System.out.println(testObj1.a);
}
}
class Testing2{
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