Vote count: 45 Why isn't possible to overload a function just by changing the retu type? Why is it so? Will that provably change in a future version of Java? By the way, just for reference, is this possible in C++? edited Feb 25 '15 at 7:01engineer asked Mar 13 '10 at 19:49nunos 5 Answers Vote count: 69 accepted You can't do it in Java, and you can't do it in C++. The rationale is that the retu value alone is not sufficient for the compiler to figure out which function to call: public int foo() ...
ادامه مطلبVote count: 0 I have very large arrays which are needed to be stored on disk. How can I do that? I tried using h5py, I read the documentation and found the issue with it is its 2nd dimension can have maximum number of 1024. How can I deal with an array that have dimensions of lets say 10^6 x 10^6? asked 2 mins agousr82649202 Let's block ads!...
ادامه مطلب