Uniform access is a principle in Scala that allows you to access fields and methods using the same syntax. This means that you can access a field and a method in the same way without revealing whether it's implemented as a field or a method. This promotes a more consistent and flexible API design.
For example: