What are the difference between java and C++?

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

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 153
  • Karma: 0
    • No Addiction
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 17
  • Posts: 897
  • 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: 1
  • Karma: 0
  • Gender: Male
  • 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
2738 Views
Last post 10-18-2012, 03:21:05
by netedge12
0 Replies
1466 Views
Last post 08-16-2011, 01:06:18
by Vinil
6 Replies
3804 Views
Last post 05-22-2013, 10:47:43
by nadim123
15 Replies
6595 Views
Last post 07-27-2016, 07:41:21
by ShreyaKoushik
3 Replies
3128 Views
Last post 08-19-2015, 01:48:54
by SanviMalhotra