I want to pass a value of class2 to the method getAnotherValue() and i want it to make a call to public int visit ( class2 c2 ) and not public int visit ( class1 c1) as it does now. I believe that is...
Type: Posts; User: sanguinarius
I want to pass a value of class2 to the method getAnotherValue() and i want it to make a call to public int visit ( class2 c2 ) and not public int visit ( class1 c1) as it does now. I believe that is...
So how can i make it to be called from where i want without using the copy-pasting method of the same method in class2 ?
Hello to everyone. I have a problem to which i cannot find any answers. I tried to google it but i didn't found anything which could help me.
So i have this small sequence of code:
class...