Created
December 14, 2021 19:11
-
-
Save Arjun2002tiwari/9b458dfefd5f3331558c17ff3092d1c8 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 Main3{ | |
Main3(){ | |
System.out.println("Unknown"); | |
} | |
Main3(String Name){ | |
System.out.println(Name); | |
} | |
public static void main(String[] args) { | |
Main3 obj = new Main3(); | |
Main3 obj2 = new Main3("Arjun Tiwari"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment