Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

In java, how to add the values of two reference variables? Let say, DoubleClass + DoubleClass (DoubleClass is a class)

OpenStudy (e.mccormick):

The object versions of variables are overloaded for addition.

OpenStudy (anonymous):

the reference variables in java dos not have special value reference variables contain the object addresses on heap but we can concatenate to string object by + opreator

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!