Created
December 9, 2018 19:15
-
-
Save jainnancy/066f5fdf13b05bd00e5c697a6fca7aea to your computer and use it in GitHub Desktop.
GuideBooking 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 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