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