001package singleton.pub2.main; 002import singleton.pub2.S; 003public class Main { 004 public static void main (String[] args) { 005 S s = S.instance; 006 System.out.println(s.inc()); 007 System.out.println(s.inc()); 008 } 009}