daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Aug 13th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class HungrySingleton{
  2.   private static HungrySingleton instance = new HungrySingleton();
  3.  
  4.   private HungrySingleton(){}
  5.  
  6.   public static HungrySingleton getInstance(){
  7.     return instance;
  8.   }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top