Chapter 2 Flashcards
data abstraction
separation of data type’s locical properties from its implementation
information hiding
the practice of hiding details within a module with the goal of controlling access to the details from the rest of the system
abstraction
model that includes only the details essential to the viewer’s perspective
deallocate
return the storagge space for an object to the pool of free memory so it can be reallocated to new objects
instantiation
creating a new object
allocating
setting aside space in memory
data encapsulation
separation of the representation of data from the applications that use the data at a logical level
abstract data type
data type whose properties are specified independently of any particular implementation
abstract methoid
methoid declared in a class or an interface without a method body
signiture
distinguishing features of a method heading (method name and parameters)
overloading
repeated use of a method name with a different signiture
software testing
process of executing a program with data sets designed to discover errors
unit testing
testing a class or method by itself
functional domain
set of vailid input data
black-box testing
testing program/method based on the possible input values (treat code as “black box”)