Created
December 9, 2018 19:15
-
-
Save jainnancy/a2fa4b31f737e83ca7147319845f637b to your computer and use it in GitHub Desktop.
ShuttleBooking class for facade design pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package subsystems | |
class ShuttleBooking { | |
def bookShuttle(tourPackage : String) : Unit = { | |
println("Shuttle is booked under package " + tourPackage) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment