Home  >  Forum  >  Core Java
Post New Query

What is difference between the Java and C++?

joined on
October 06,2013
Asked on October 15,2013
Java is the collection of class and C++ also collection of class?
I am unable to understand when C++ is available then what is the need of Java? 
Whats the similarity in Java & C++?  
joined on
March 14,2013
Replied on October 16,2013

1. C++ is plateform dependent and java is not. It means if a project in C++ is created for windows, it will not run in Linux or Macintosh. Java provides JVM. JVM is platform dependent and is created for windows, Linux and Macintosh separately.  After compile java creates byte code.  JVM understands byte code. Hence java is platform independent. No facility like this in C++.

2.  Java is secure 

3.  java provides web technology and mobile technology and many more features which is not in C++.

4. Java follows more OOPs features than C++

Write Answer

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us