© 2012

Foundational Java

Key Elements and Practical Programming


Table of contents

  1. Front Matter
    Pages i-xx
  2. David Parsons
    Pages 1-8
  3. David Parsons
    Pages 9-28
  4. David Parsons
    Pages 29-48
  5. David Parsons
    Pages 49-70
  6. David Parsons
    Pages 71-93
  7. David Parsons
    Pages 95-124
  8. David Parsons
    Pages 159-195
  9. David Parsons
    Pages 197-218
  10. David Parsons
    Pages 219-244
  11. David Parsons
    Pages 245-261
  12. David Parsons
    Pages 263-296
  13. David Parsons
    Pages 297-320
  14. David Parsons
    Pages 321-336
  15. David Parsons
    Pages 337-355
  16. David Parsons
    Pages 357-386
  17. David Parsons
    Pages 387-416
  18. David Parsons
    Pages 417-464
  19. David Parsons
    Pages 465-501

About this book


Java is now well-established as one of the world’s major programming languages, used in everything from desktop applications to web-hosted applications and enterprise systems, and embedded in devices such as mobile phones and Blu-ray players.

Foundational Java: Key Elements and Practical Programming presents a detailed guide to the core features of Java – and some more recent innovations – enabling the reader to build their skills and confidence though tried-and-trusted stages, supported by exercises that reinforce the key learning points. All of the most useful and commonly applied Java syntax and libraries are introduced, along with many example programs that can provide the basis for more substantial applications. Use of the Eclipse Integrated Development Environment (IDE) and the JUnit testing framework is integral to the book, although to ensure that skills are not confined to one environment the fundamentals of the Java compiler and run time are also explained. Additionally, coverage of the Ant tool will equip the reader with the skills to automatically build, test and deploy applications independent of an IDE.

Topics and features:

  • Presents the most up-to-date information on Java, including Java 7
  • Examines the key theme of unit testing, introducing the JUnit 4 testing framework
  • Describes the Eclipse IDE, and also explains how Java can be run from the command line
  • Includes coverage of the Ant build tool
  • Contains numerous code examples and exercises throughout
  • Provides downloadable source code, self-test questions, and PowerPoint slides at an associated website

This hands-on, classroom-tested textbook/reference is ideal for undergraduate students on introductory and intermediate courses on programming with Java. Professional software developers will also find this an excellent self-study guide/refresher on the topic.


Ant Eclipse JUnit Java Unit Testing

Authors and affiliations

  1. 1.Inst. of Information and Math. SciencesMassey UniversityAlbanyNew Zealand

About the authors

Dr. David Parsons is an Associate Professor in Information Technology at Massey University, Auckland, New Zealand. His research interests are in aspects of technology-enhanced learning, in particular mobile learning and virtual world learning, and in agile software development. He also provides consultancy and professional software training services on behalf of Massey University’s Institute of Information and Mathematical Sciences.

Bibliographic information

Industry Sectors
IT & Software
Consumer Packaged Goods
Finance, Business & Banking
Oil, Gas & Geosciences