Thread: Discuss the differences between Java and C++? Reply to Thread

Your Username: Click here to log in
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options

Miscellaneous Options

Topic Review (Newest First)

26th July 2012 05:30 PM
rch91
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
26th July 2012 04:45 PM
singhhr23
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...
26th July 2012 02:41 PM
BISWARUPYOGI
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++

.
26th July 2012 12:10 PM
gyanson
Discuss the differences between Java and C++?

discuss differance between java and c++

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.