Created
August 31, 2019 13:46
-
-
Save rudrakshbhati/c41b0845d29d0e11ebc7cd6883013afd to your computer and use it in GitHub Desktop.
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
import com.google.inject.Guice; | |
import com.google.inject.Injector; | |
public class Main { | |
public static void main(String[] args) { | |
Injector injector = Guice.createInjector(new VehicleShoppingModule()); | |
VehicleShopping vehicleShopping = injector.getInstance(VehicleShopping.class); | |
vehicleShopping.testDrive(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment