employer cover photo
employer logo
employer logo

Tata Consultancy Services

Fait partie de Tata Group

Employeur impliqué

Question d’entretien chez Tata Consultancy Services

difference between c and c++

Réponse à la question d'entretien

Utilisateur anonyme

16 déc. 2020

C++ platform dependent, must be compiled on every platform. Java platform independent. C++ compiled and linked into executable, Java compiled into bytecode and interpreted by virtual machine C++ can overload operators and methods (virtual), Java can only overload methods (essentially all virtual) C++ manual memory management (new and delete), Java automatic garbage collection C++ no support for documentation comments, Java does support documentation comments C++ no direct support for threads, Java has thread class