Java is somewhat based on the structure of C++, C++ is merely the C
language with a bunch of additions, such as classes.
Java was DESIGNED to use classes, java (mostly) automatically handles
garbage collection, java also takes out a piece of C++ that many
experienced developers still have trouble with after years and years of
programming, pointers.
I use java because for these reasons, in addition to the fact that java
is machine independant. As long as the user has java installed (by
default it is installed by web browsers today), they should be able to
run my applet of application. If I want to distrubute my application
on Mac, Linux and PC, I can even create an installation that installs
the runtime environment that I choose my application to run on.
I enjoy C++, java feels cleaner to program. It beats VB, in my mind
because VB was designed for business people who wanted to do a little
programming, and now has been expanded more for the developers. Plus
VB is a windows platform specific language, also requiring the version
of the vb libriaries installed on the machine for the application to
run.
Since Visual Basic and Visual C++ are windows based languages, they
also suck because I cannot deploy the same application on windows xp,
windows 2000, or windows 98, and I am absolutely positive that when
vista comes out, many applications will have to be redeveloped to
actually run on vista.
anyway when I think about what languages to write an application in,
those are the ones that come up,
applets are unique to java. many times flash could do the job, but
hey, java does kick ass. Plus java allows you to have more control
over your application, instead of only being able to use a limited
number of objects to achieve your goal.