Created
July 19, 2019 08:07
-
-
Save ayushi24041992/edd642ac85a3b989e5faec4b1878f541 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 TestLogger { | |
public static void main(String args[]) { | |
Logger logger1 = Logger.getInstance(); | |
Logger logger2 = Logger.getInstance(); | |
TestLogger testLogger1 = new TestLogger(); | |
TestLogger testLogger2 = new TestLogger(); | |
System.out.println(logger1.hashCode()); | |
System.out.println(logger2.hashCode()); | |
System.out.println(testLogger1.hashCode()); | |
System.out.println(testLogger2.hashCode()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment