블로그
- [영진전문대학 컴퓨터정보계열] 스레드 - 생산자 / 소비자 class Buffer { private int data; private boolean empty = true; public synchronized int get() { while (empty) { try { wait(); } catch (InterruptedException e) { } } empty = true; notifyAll(); return data
- [javascript]예약어 자바스크립트의 키워드이므로 변수이름으로 쓰면 안된다. abstract boolean break byte case catch char class const const continue
- [영진전문대학 컴퓨터정보계열] MySQL 원격 가능 java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Scanner; public class 성공"); con = DriverManager.getConnection(url, id, password); System.out.println("데이터 베이스 연결 성공"); } catch
- [영진전문대 컴퓨터정보계열]자바 글자 애니매이션(예제) .*; public class myapplet extends Applet implements Runnable { static final int MAX_FRAME = 200; int while(true){ // 프레임 번호를 증가시킨다. frameNumber = (++frameNumber) % MAX_FRAME; try { Thread.sleep(40); } catch
- [영진전문대 컴퓨터정보계열 프로그래밍전공] 10월 17일 수업내용 public class adfs { public static void main(String[] args) { try { int a = 10/1; System.out.println(" Test"); } catch(Exception e) { System.out.println("예외발생"); } finally { System.out.println("Finally");
- [영진전문대학 컴퓨터정보계열] 스레드 - 동기화 synchronized class Counter { private int value = 0; public synchronized void increment() { value++; } public synchronized (InterruptedException e) { } i++; } } } public class test { public static voi.......
- [영진전문대 컴퓨터정보계열프로그래밍전공] 10월 31일 수업내용 class Counter { private int value = 0; public void increment() { value++; } public void decrement() { value--; } public void printCounter() { System.out.println(value); } } class MyThread extends Thread
- [영진전문대 컴퓨터정보계열] .*; public class CountDownTest extends JFrame{ private JLabel label; class MyThread extends Thread{ public void run(){ for(int i=10; i>=0; i--){ try{ Thread.sleep(1000); }catch(InterruptedException e){ e.printStackTrace
- The Problem ☞ Tom Juravich www.tomjuravich.com/altar/ The Problem Tom Juravich [mp3 sample] I teach at the middle school, I find it hard to catch They took my aide, my class.......
← 이전
4 페이지