sergAccount

Untitled

Aug 30th, 2020
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package com;
  7.  
  8. import com.spec.SingleObject;
  9.  
  10. /**
  11.  *
  12.  * @author Admin
  13.  */
  14. public class Main {
  15.    
  16.     //
  17.     public static void main(String[] args) {
  18.        
  19.         //SingleObject o = new SingleObject();
  20.         SingleObject object = SingleObject.getInstance();
  21.         object.showMessage();
  22.         //
  23.         SingleObject.getInstance().showMessage();
  24.     }    
  25. }
  26.  
Add Comment
Please, Sign In to add comment