#1  
26th July 2012, 11:10 AM
gyanson
 
Join Date: Jul 2012
Posts: 1

Discuss the differences between Java and C++?


discuss differance between java and c++




  #2  
26th July 2012, 01:41 PM
BISWARUPYOGI
Senior Member+++++
 
Join Date: May 2011
Location: India
Posts: 38,947
Default Re: Discuss the differences between Java and C++?

Quote:
Originally Posted by gyanson View Post
discuss differance between java and c++
Difference between Java and C++:-
  • C++ is Object Oriented Programming Language and C++ use the classes.Java is a Purely Object Oriented Programming Language.
  • C++ supports pointers where as Java does not pointers.Java support restricted pointers.
  • Java uses Compiler and interpreter both and in C++ their is only compiler
  • Thread support built in java but not C++

.
  #3  
26th July 2012, 03:45 PM
singhhr23
Member
 
Join Date: Jun 2012
Posts: 167
Default Re: Discuss the differences between Java and C++?

C++ is the advanced version of c i.e.C with Classes whereas
Java is the platform independent as it works on any type of
operating systems.
java is reusable and more reliable,more secure than c++.

Thanks...
  #4  
26th July 2012, 04:30 PM
rch91
Senior Member
 
Join Date: Dec 2011
Posts: 369
Default Re: Discuss the differences between Java and C++?

Quote:
Originally Posted by gyanson View Post
discuss differance between java and c++
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
Reply With Quote
Do you have any question? or have anything to say?



Related Topics:

Thread Replies Last Post
Is Java Purely object oriented language? Difference between Java and C+? Which one is better? 18 2nd August 2013 11:43 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Please also check: