Skip to content

Instantly share code, notes, and snippets.

@tristaaan tristaaan/prank.java
Last active Aug 29, 2015

Embed
What would you like to do?
if (user.refrigeratorRunning){
try{
user.refrigerator.interrupt();
}
catch (InterruptedException e){
system.println("Catching...");
user.refrigerator.terminate();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.