Created
February 9, 2023 00:26
-
-
Save CarlosHenriqueDv/3a8eafdef9c8d2d6be192a817e305d1e 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
public class GuiMain { | |
public static void main(String[] args) { | |
GuiFactory factory = new WindowsGuiFactory(); | |
App windowsApp = new App(factory); | |
windowsApp.configuracaoGuiApplication();; | |
System.out.println( ); | |
factory = new LinuxGuiFactory(); | |
App linuxApp = new App(factory); | |
linuxApp.configuracaoGuiApplication(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment