Skip to content

Instantly share code, notes, and snippets.

@Arjun2002tiwari
Created December 14, 2021 19:11
Show Gist options
  • Save Arjun2002tiwari/9b458dfefd5f3331558c17ff3092d1c8 to your computer and use it in GitHub Desktop.
Save Arjun2002tiwari/9b458dfefd5f3331558c17ff3092d1c8 to your computer and use it in GitHub Desktop.
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