R
R
Rienopely2015-10-11 19:07:12
Java
Rienopely, 2015-10-11 19:07:12

Is there any way to write your own Integer in Java?

The fact is that there is no overload of the + operator. But is there Autoboxing? There, it cannot be done for mortals, only inside a virtual machine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2015-10-11
@fshp

No way. If you want operators, look towards Scala.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question