Data Structures and Problem Solving Using JavaFeatures *Contains extensive sample code using Java 1.1, which is available over the Internet and has been tested and reviewed by a professional programmer for accuracy. *Provides an introduction to Java in Part I and also covers Graphical User Interfaces (GUIs) in an appendix. *Includes pedagogical aids such as margin notes and comprehensive end-of-chapter material to help readers grasp challenging concepts. *Offers flexibility in topic coverage by minimizing dependencies among the different chapters. |
From inside the book
Results 1-3 of 13
Page 54
... Information hiding makes implementa- tion details , includ- ing components of an object , inacces- sible . Encapsulation is the grouping of data and the oper- ations that apply to them to form an aggregate , while hiding the imple ...
... Information hiding makes implementa- tion details , includ- ing components of an object , inacces- sible . Encapsulation is the grouping of data and the oper- ations that apply to them to form an aggregate , while hiding the imple ...
Page 70
... information hiding and atomicity , and ⚫ define methods to manipulate the objects . The class consists of two parts : the specification and the implementation . The specification tells the user of the class what the class does ; the ...
... information hiding and atomicity , and ⚫ define methods to manipulate the objects . The class consists of two parts : the specification and the implementation . The specification tells the user of the class what the class does ; the ...
Page 71
... information hiding Makes implementation details , including components of an object , inaccessible . ( 54 ) instanceof operator Tests if an expression is an instance of a class . ( 68 ) javadoc Automatically generates documentation for ...
... information hiding Makes implementation details , including components of an object , inaccessible . ( 54 ) instanceof operator Tests if an expression is an instance of a class . ( 68 ) javadoc Automatically generates documentation for ...
Other editions - View all
Common terms and phrases
abstract class alpha-beta pruning analysis array base class basic Big-Oh binary search tree boolean BufferedReader chapter Comparable compute constant constructor contiguous subsequence sum data structures declared derived class element equal error evaluate example exception final class findMin for(int function hash table Hashable implementation important information hiding inheritance initial input insertion sort instance IntCell integers interface interpolation search ItemNotFound iterations Java javadoc linear linked list logarithmic loop maximum contiguous subsequence MemoryCell mergesort MyInteger node O(N log object object-oriented object-oriented programming operations output package parameter partitioning performed permutation pivot position primitive types priority queue private static problem public class public static void quadratic quickselect quicksort random numbers recursive calls reference types result rithm routine running sequence Shape Shellsort shown in Figure solve sorting algorithm stack statement static final stored String System.out.println Theorem tion toString variable worst-case write