What are the difference between java and C++?

Author Topic: What are the difference between java and C++?  (Read 787 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 159
  • Karma: 0
    • Hot Shaper
What are the difference between java and C++?
« on: 04-13-2016, 03:15:33 »
Java adopts byte code whereas C++ doesn’t.
C++ supports destructor whereas java doesn’t support.
Multiple inheritance possible in C++ but not in java.


Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 18
  • Posts: 898
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: What are the difference between java and C++?
« Reply #1 on: 04-19-2016, 04:13:40 »
Hello!
I have a great article for you http://cs-fundamentals.com/tech-interview/java/differences-between-java-and-cpp.php
You can rad about main differences between Java and C++ that are shown in the table!
Your ideas, our writings - Writology.com

Offline AaronJacobson

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 6
  • Karma: 0
  • Gender: Male
  • Java Application & Software Developer
    • IT technology solutions
Re: What are the difference between java and C++?
« Reply #2 on: 06-29-2016, 04:30:53 »
The most important difference is that Java is a memory-safe language, whereas C++ is not.
Java does not support pointers, templates, unions, operator overloading, structures etc, where C++ supports
Java support automatic garbage collection and C++ support destructors.

And lots of other different are available but Both Java and C++ support object oriented programming.
Sr. Software & Application Developer

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2806 Views
Last post 10-18-2012, 03:21:05
by netedge12
0 Replies
1496 Views
Last post 08-16-2011, 01:06:18
by Vinil
6 Replies
3883 Views
Last post 05-22-2013, 10:47:43
by nadim123
13 Replies
6816 Views
Last post 07-06-2016, 06:58:13
by Paavni
3 Replies
3271 Views
Last post 08-19-2015, 01:48:54
by SanviMalhotra