(855) 4-ESSAYS

Type a new keyword(s) and press Enter to search

Java & Games


These libraries often make use of JNI to access system specific features and must therefore be specially ported to each platform. Since the number of optional packages are high the availability of these libraries are usually low except on those platforms for which Sun provides implementations; i.e. MS Windows, Sun Solaris and to some extent also Linux.
             It is important to realize that optional packages are nothing but normal programming libraries with the special property that are officially supported by Sun. The optional packages provide much new functionality. Examples are 3D graphics, emailing, advanced imaging, and access to computer communication ports. Of special interest to this report is Java3D, the optional package that provides 3D graphics.
             The syntax of the Java and C++ languages look very much alike, but this similarity is only partial. The similarity is made on purpose to make the transition to Java easier for C and C++ programmers. There are a number of important differences between the languages and their development environments that will be here. Many of these differences contribute to difference in programmer productivity between the two languages. Not all differences between the two languages are covered here. The review assumes the reader has a good knowledge of C++. This chapter will generally not discuss the consequences the languages differences have on performance. .
             In C++ the use of object oriented code is optional. Users can ignore objects and write C-like applications without objects. In Java the use of object oriented programming is mandatory. All variables and functions must be defined as part of a class. On one hand this reduces flexibility during programming but on the other hand it helps to ensure code modularity.
             In one sense of the word Java does have memory leaks but it does not have it in the traditional sense. In C++ you have to remember to call delete on every object that you have created with new.


Essays Related to Java & Games


Got a writing question? Ask our professional writer!
Submit My Question