Created
September 28, 2016 18:26
-
-
Save ninijay/1a16b6daab37a81dfa20b2d6152ef6ee to your computer and use it in GitHub Desktop.
java toString created by ninijay - https://repl.it/DjpA/0
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
class Main { | |
public static void main(String[] args) { | |
myClass cl = new myClass(); | |
System.out.println(cl); | |
} | |
} | |
class myClass { | |
@Override | |
public String toString(){ | |
return "Useful Debug Information"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment