Advertisement
alexandrecoussy

Untitled

Apr 1st, 2022
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1.   private String toString(Object obj) {
  2.     if (obj instanceof String) {
  3.       return (String) obj;
  4.     } else {
  5.       // je lève une alerte
  6.       }
  7.       return null;
  8.     }
  9.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement