| There are many programming languages | | | | master than C or C++. |
| available and each of them is suitable for | | | | |
| another program or application. There are | | | | Learning Java programming is not very |
| people who have learnt only a few programming | | | | difficult, especially if you are familiar |
| languages and who use these because that is | | | | with other, more basic, programming languages |
| what they know, bust most of the times | | | | and you know for sure what you want to create |
| software programmers will use the programming | | | | using it and it has a series of benefits |
| language that is required by the application | | | | compared to C and C++. First of all, code |
| they are creating. Java is one of the most | | | | written in this programming language is |
| frequently used programming language and | | | | portable. Code written in C and C++ is not |
| writing in this language is somehow different | | | | and this makes Java more practical (for |
| from the usual Pascal or any C/C++ version | | | | example, in C and C++, each implementation |
| but that does not mean that learning the java | | | | decides the precision and storage |
| code is harder than learning Pascal or C++. | | | | requirements for basic data types. |
| Nowadays there are numerous applications | | | | |
| written in Java and its terminology it may | | | | When you want to move from one system to |
| seem a bit harder in the beginning but anyone | | | | another, this is a source of problems because |
| can write in this programming language, | | | | changes in numeric precision can affect |
| that's for sure. | | | | calculations). On the other hand, Java |
| | | | defines the size of basic types for all |
| When looking into a new programming language, | | | | implementations (for example, an "int" on one |
| most people would like to know if it is easy | | | | system is the same size and it represents the |
| to learn and work in. If you compare it to C | | | | same range of values as on every other given |
| or C++, you may discover that indeed, using | | | | system). Find out more at |
| it can be more straight forward. This is due | | | | |
| to the fact that Java has far fewer surprises | | | | The cases of programs that make use of |
| compared to C versions. C and C++ make use of | | | | floating point arithmetic requires a special |
| a lot of peculiarities so learning and | | | | attention: a program that uses floating point |
| mastering them all can be a daunting task | | | | calculations can produce different answers on |
| (for example, temporary variables hang around | | | | different systems (in this case, the degree |
| long after the function that created them has | | | | of difference increases with the number of |
| terminated). Being more straight forward, | | | | calculations a particular value goes |
| Java is a bit easier to learn and to work | | | | through). But this is a thing specific to all |
| with. Java eliminates explicit pointer | | | | floating point code, not only Java code which |
| dereferences and memory allocation | | | | is also more portable then C or C++ in its |
| reclamation, for example, two of the most | | | | object code. It compiles to an object code |
| complicated sources of bugs for C and C++ | | | | for a theoretical machine - in other words, |
| programmers. Out of range subscripts are easy | | | | the interpreter emulates that machine. This |
| to find, as Java is able to do add array | | | | translates to the fact that code compiled on |
| bounds checking. Others may argue that it | | | | one computer will run on other computer |
| seems easier to work with because there are | | | | machines that has a Java interpreter, but |
| very few examples of extremely complicated | | | | more on this subject you will find out while |
| projects done using it, but the general | | | | learning Java programming. |
| accepted idea is that it is somehow easier to | | | | |