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/066f5fdf13b05bd00e5c697a6fca7aea to your computer and use it in GitHub Desktop.
Save jainnancy/066f5fdf13b05bd00e5c697a6fca7aea to your computer and use it in GitHub Desktop.
GuideBooking class for facade design pattern
package subsystems
class GuideBooking {
def bookGuide(destination : String) : Unit = {
System.out.println("A guide is booked for sightseeing at " + destination)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment