+ 2
Which one you choose for object oriented coding C++ or Java if you have only one option left to go on and why?
java or c++
7 Answers
+ 2
but c++ provide you the facilities of reference by address . can it be overcame in java?
+ 4
C++
If I were restricted to Java and I wanted to make something that is time-critical, it would become very hard to make it fast enough.
Pointers are very useful and important for a lot of programs, it would be a big problem to not be able to use them.
Finally, I am more used to C++ syntax. I find the way classes are organized is much easier to read.
+ 3
facilities to access address is not possible in java. That's why it is used highly for banking purposes.
+ 2
@Akash best reason is code re-useability.
java is platform independent
write once and deploy anywhere
+ 1
always choose Java...totally OOP
you can't even print signle line without classes and objects
syntax is pretty straight forward and beautiful
C++ is just cumbersome to code in...
+ 1
Obviously am also interested towards C++ but trying to get the best reasons to choose Java
0
@Akash anything done in C++ is beautifully done in java