Java has two parts...
1. The core language -- variables, arrays, objects
o The Java Virtual Machine (JVM) runs the core language
o The core language is simple enough to run on small devices -- phones, smart cards, PDAs.
2. The libraries
o Java includes a large collection of standard library classes to provide "off the shelf" code. (Useful built-in classes that comes with the language to perform basic tasks)
o Example of these classes is String, ArrayList, HashMap, StringTokenizer (to break string into substrings), Date ...
o Java programmers are more productive in part because they have access to a large set of standard, well documented library classes.
Simple
Very similar C/C++ syntax, operators, etc.
The core language is simpler than C++ -- no operator overloading, no pointers, and no multiple inheritance


Sponsored Links