Although both are object oriented programming language and Java was derived from C++ but still there is big difference between these two languages.
You can see the actual difference once you start programming on it.
But here i am going to give you few differences between these two...
1. Java does not support operator overloading
2. A class definition in Java looks similar to a class definition in C++, but there is no closing semicolon.
3. Forward reference declarations are not required in Java.
4. Scope resolution operator (::) required in C++ is but not in Java.
4. In C++ you have to re-declare static data members outside the class but such things are not required in Java
February 25, 2008 at 1:27 PM
First of all Java, which emulates or imitates OOP?s principle, is very much similar to C++, but in C++ programming can be done without making objects.
Java is a high level language as both compiler and Interpreter for analyzing and execution of program no matter C++ too uses the same.
Java is a high-level powerful programming language, which provides user a powerful secure and safe software platform. This is because due to feature of its translator that is JVM which where ever installed and on any platform understands the same byte code
In C++ due to absence of automatic garbage collection mechanism problems like memory leaks and much development time is been taken for coding., which is not seen in case user do java programming as java has its own automatic garbage collection mechanism.
Java is platform Independent whereas C++ is platform dependent. To learn Beginner?s Java, Java Core and its sideways Editions Check at http://www.Roseindia.net/java
Difference in XML, C, C++, Java Difference in XML, C, C++, Java hi...
What is the differencebetween XML and C or C++ or Java ?
please tell me about that
Difference between C++ and Java
Following are the differencebetweenC++ and Java:
Although both... Java and C++ are Object Oriented Programming (OOPs) language. Java... complex when compared to Java . C++ was designed for infrastructure
Difference between Java and C++ DifferencebetweenJava and C++
Java is an Object Oriented... Java Virtual Machine (JVM). Everything in java is treated as an object.
Differences are as follows:
C++JavaC++ is known as superset of C
difference between wite and writeto in java differencebetween wite and writeto in java I am using the stream... the writeTo() method. I want to know differencebetween the write() and writeTo() method in java.
The writeTo() method writes the complete contents
1) Java is a Object Oriented programming language developed by Sun Microsystems
Hi .Difference between two Dates - Java Beginners
Hi .Differencebetween two Dates Hi Friend....
Thanks for ur Very good response..
Can u plz guide me the following Program....
differencebetween two dates..
I need to display the number of days by Each Month
Difference between == and equals method in java
For comparing equality of string ,We Use equals() Method. There are
two ways of comparison in java. One is "==" operator and another "equals()"
method . "==" compares the reference
Difference between Timer and Thread? Differencebetween Timer and Thread? Can anyone tell me about the differencebetween Timer and Thread, Why we need to have Timer in case we have Thread implimentation startegy in Java
difference between lock and synchronization differencebetween lock and synchronization Hi,
I am new in java please anyone tell me differencebetween lock and synchronization in java.
Thank in advance
Please visit the following link: