Abstract
Many languages offer different ways to model using structures to represent the solution to a particular problem in the real world. With Scala, you can use two methods of modelling: object-oriented programming (OOP) and functional programming (FP). They share some structures with different meanings but the idea is to define attributes and behavior. As you read in the previous chapter, languages like Java, JavaScript, Python, C++, C#, Ruby, and PHP use OOP as the default modelling option or paradigm.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Pollak, D., Layka, V., Sacco, A. (2022). Object-Oriented Modeling. In: Beginning Scala 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7422-4_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7422-4_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7421-7
Online ISBN: 978-1-4842-7422-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)