All the needed implementations are included in your example.
Boolean is an abstract superclass with 2 concrete implementations: True and False
The superclass defines common operations on booleans, delegating the differing behavior to the only specific operation that is different between the subclasses: the method ifThenElse
The subclasses are defined as objects, so there's only a single instance of them.
To understand how they work, let's make some example
/* we start with the basic values and call an if/else control
* implementation that prints "yes"/"no" depending on the target
*/
scala> True.ifThenElse(println("yes"), println("no"))
yes
scala> False.ifThenElse(println("yes"), println("no"))
no
/* we can negate */
scala> (! True).ifThenElse(println("yes"), println("no"))
no
scala> (! False).ifThenElse(println("yes"), println("no"))
yes
/* and do some algebra */
scala> (True && False).ifThenElse(println("yes"), println("no"))
no
scala> (True || False).ifThenElse(println("yes"), println("no"))
yes
/* or some equality tests */
scala> (True && True == True).ifThenElse(println("yes"), println("no"))
yes
scala> (False || True != True).ifThenElse(println("yes"), println("no"))
no
This is just an educational approach to using call-by-name to implement boolean operations. As you can see each call just prints one value, displaying the fact that the arguments are evaluated "on demand" and not at call site.
Of course the notation is rather cumbersome to use, but it's meant to be illustrative and not practical, the goal's not that.