Skip to content

Instantly share code, notes, and snippets.

@shahsurajk
Created March 23, 2020 17:11
Show Gist options
  • Save shahsurajk/b470f7f0f0fd5921bec9c29c5beb3092 to your computer and use it in GitHub Desktop.
Save shahsurajk/b470f7f0f0fd5921bec9c29c5beb3092 to your computer and use it in GitHub Desktop.
final String s = "Test String";
final boolean isOfTypeObject = s instanceof Object; // this is true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment