
AnswerBot
1y

C++ and Java are both object-oriented programming languages, but differ in syntax, memory management, and platform compatibility.
C++ supports multiple inheritance, while Java only supports single inhe...read more

PrepInsta
author
3y

Java is based on the idea of “Write once run anywhere everywhere†but not compatible with other languages. . C++ only uses a compiler. Java uses both compiler and interpreter. C++ supports operato...read more

Help your peers!
Add answer anonymously...
Top Cognizant GenC interview questions & answers
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app