Skip to content

Instantly share code, notes, and snippets.

@jainnancy
Created December 9, 2018 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jainnancy/a2fa4b31f737e83ca7147319845f637b to your computer and use it in GitHub Desktop.
Save jainnancy/a2fa4b31f737e83ca7147319845f637b to your computer and use it in GitHub Desktop.
ShuttleBooking class for facade design pattern
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