Published online by Cambridge University Press: 05 June 2012
While scientific programs are less frequently written in Java than in C++, in certain contexts, such as internet applications, the enhanced Java feature set significantly shortens development time. Since many high-level constructs in Java reflect an involved and largely hidden underlying structure that often precludes a description in terms of a compact set of underlying principles, the subsequent discussion focuses on compact code samples that illustrate the most significant aspects of the language. Once a basic understanding of Java has been acquired, specialized programming tasks can often be addressed by extending these samples while consulting a full list of the specialized functions available in the language.
While numerous free integrated Java development environments exist, flags can be set inadvertently, leading to anomalous behavior that often proves difficult to correct. Additionally, the details of the Java file structure which constitutes an important feature of the language are often obscured. This text therefore employs a command-line compiler, the Java DISLIN graphics package and a text editor. Downloading, installing and testing these components is described below.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.