Created
December 9, 2018 19:12
-
-
Save jainnancy/3ceece86396f735edd8073cba9a279a7 to your computer and use it in GitHub Desktop.
Client 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 app | |
import facade.TourAndTravelFacade | |
object Client extends App | |
{ | |
val facade = new TourAndTravelFacade | |
val tourPackage = "Platinum" | |
val destination = "Udaipur" | |
val departure = "Delhi" | |
facade.bookHolidayPackage(tourPackage, destination, departure) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment