3

Using Java

Functions Functions

Contents

  • Implementing simple programs in Java
  • Essential syntax for loops and selections
  • Functions and parameter-passing
  • Running the example software
3.1 INTRODUCTION

This book deals with data structures and their implementation in Java; in this chapter, we will discuss some aspects of the language. We discuss the development of Java and its differences from languages such as C++ or Pascal, and move on to illustrate its use in a simple program. There are a number of ways for creating Java programs, ranging from ‘integrated development environments’ such as Borland’s JBuilder® or Netbeans® to the use of the Sun Java Development ...

Get Introducing Data Structures with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.