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:
difference between applet and swings differencebetween applet and swings what are the major differencebetween swing and applets
1) AWT stands for Abstract windows toolkit whereas le Swing is also called as JFC?s (Java
Difference between JSP and Servlets Differencebetween JSP and Servlets What is the differencebetween JSP and Servlets ?
JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP
Difference between SCJP Exams Differencebetween SCJP Exams What is the differences between SCJP 5 (310 - 055) exam and SCJP 6 (310 - 065) exam???
Thank You In Adv
Difference between error and exception ???????? Differencebetween error and exception ? Can we handle a error in java if yes than give an code of an example?
Differencebetween error and exception handling.......
Exceptions are things you can create/throw
Difference between forward and sendRedirect Differencebetween forward and sendRedirect What's the differencebetween forward and sendRedirect?
RequestDispatcher.forward() and HttpServletResponse.sendRedirect() are the two methods available for URL redirecting
Difference between ServletContext and ServletConfig Differencebetween ServletContext and ServletConfig What is the differencebetween ServletContext and ServletConfig?
ServletContext :Defines a set of methods that a servlet uses to communicate with its servlet
Difference between translate and replace Differencebetween translate and replace hiii,
What is the differencebetween translate and replace?
Replace replace every instence of character with character sting by the given charator of string
Difference between GET and POST Differencebetween GET and POST Differencebetween GET and POST ?
The differencebetween a GET and a POST is the way data is transferred to a servlet. With a GET, the URL will show each name/value pair on the query
Difference between http and https Differencebetween http and https Difference b/w HTTP and HTTPS
please provide answer in tabular form.
1)HTTP is hyper text transfer protocol which is responsible for transmitting
Difference between Struts and Spring Differencebetween Struts and Spring What are the differencebetween Struts and Spring?
1)Struts is a web framework while Spring is not.
2)Spring is a Layered Architecture while Struts