faqts : Computers : Programming : Languages : Java

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

231 of 320 people (72%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

What is the difference between C++ & Java

Aug 16th, 2001 07:51
Jean-Bernard Valentaten, Suresh Pal,


Well, where should I start :)
There are a lot of differences and I'll only list a few (for those who 
want to know exactly, buy the book "Java in a Nutshell"):
- Java has absolutely no control over hardware
- Java has no pointers
- Java's class declaration syntax is alot easier than C++
- Java has no header-files
- Java has an automatic garbage collection
- Java is multithreaded
That's just part of it all.
The basic syntax is almost the same as in C++
HTH