[JAVA] 24년 기출 문제 풀이(1회, 2회)
·
정보처리기사[실기]
[2024 1회]class Connection{ private static Connection _inst = null; private int count = 0; static public Connection get(){ if(_inst == null){ _inst = new Connection(); return _inst; } return _inst; } public void count(){ count++; } public int getCount(){ return count; }}public class main{ public static void main(String[] args){..