Abstract
In this chapter, you will learn about abstract classes, interfaces, and a technique known as programming by contract. These are object-oriented programming (OOP) mechanisms that allow you to write code that does more than just perform calculations or present output. These constructs give you the ability to define conceptual rules about how classes interact, and they provide a foundation for extension and customization in your applications.
Chapter PDF
Rights and permissions
Copyright information
© 2008 Kevin McArthur
About this chapter
Cite this chapter
(2008). Abstract Classes, Interfaces, and Programming by Contract. In: Pro PHP. Apress. https://doi.org/10.1007/978-1-4302-0279-0_1
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0279-0_1
Publisher Name: Apress
Print ISBN: 978-1-59059-819-1
Online ISBN: 978-1-4302-0279-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books