public class ThreadTest { public static void main(String[] args) throws InterruptedException { //1번 Thread thread1 = new Thread(new Worker("11")); Thread thread2 = new Thread(new Worker("22")); //2번 //thread1.setName("A2"); //thread2.setName("B2"); thread1.start(); thread2.start(); } private static class Worker implements Runnable { private String name; public Worker(String name) { this.name = n..