Data Structures & Other Objects Using Java
This book takes a gentle approach to the data structures course in Java. It offers an early, self-contained review of object-oriented programming and Java to give students a firm grasp of key concepts, and allows those experienced in other languages to adjust easily. The book also offers a flexibility which allows professors such options as emphasizing object-oriented programming, covering recursion and sorting early or accelerating the pace of the course. This title meets the needs of professors searching for a book to balance the introduction of object-oriented programming and data structures with Java.
Results 1-3 of 30
Evaluating Arithmetic Expressions — Specification The program takes as input a
fully parenthesized numeric expression such as the following: ((((12 + 9)/3) + 7.2)
*((6 - 4)/8)) The expression consists of integers or double numbers, together ...
If we evaluate this leftmost of the innermost expressions, we obtain ((15/3)*(6 - 4))
We could now go back and evaluate the other innermost expression (6-4), but
why bother? There is a simpler approach that spares us the trouble of ...
Your program should allow the user to evaluate additional expressions until the
user says he/she wishes to end the program. For a more difficult assignment,
enhance your program by adding any or all of the following features: (a) The ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown