SHARE
TWEET

Untitled

a guest Aug 13th, 2017 39 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
Top