Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Technology Trends by (45k points)
edited by
Could someone tell me what is the difference between Java and C++?

1 Answer

0 votes
by (99k points)

C++ is a general-purpose programming language that was created as an extension of C programming, whereas, Java is a high-level programming language and could be run on multiple platforms like Windows, Mac, etc. Let me share some of the differences between Java and C++ and they are:

C++ is not purely an OOP (Object Oriented Programming), while Java is purely an Object-Oriented Programming language. C++ only has a compiler while Java being an Interpreted language has both compilers as well as interpreters. In C++, the codes are directly executed, whereas in Java the Java Virtual Machine or JVM executes the code. And in terms of keywords, C++ supports 63 keywords and Java supports 50. And only Java supports Database connectivity, C++ doesn’t.

If you wish to learn more difference between the two, you could look into the following video on the Difference Between C, C++, and Java. And if you wish to learn programming languages and wish to get trained and certified, then check out the Programming courses from Intellipaat. That offers you a range of courses like Java, Python, etc.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Jan 20, 2021 in Technology Trends by dev_sk2311 (45k points)
0 votes
1 answer
asked Jan 20, 2021 in Technology Trends by dev_sk2311 (45k points)
0 votes
1 answer
0 votes
1 answer
asked Jan 20, 2021 in Technology Trends by dev_sk2311 (45k points)

Browse Categories

...