Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Java v/s C++
How does security options differ between Java and C++ What is the difference between them?
1 Resposta
+ 1
C++ support destructors, which is automatically invoked when the object is destroyed ..On the other hand Java support automatic garbage collection. It does not support destructors as C++ does.
C++ has no built in support for threads. C++ relies on non-standard third-party libraries for thread support....On the other hand Java has built in support for threads. In Java, there is aĀ ThreadĀ class that you inherit to create a new thread and override theĀ run()method.
Mainly java is more secured because of it's memory management which is much secured and lighter than c++.