'Under Graduate School/웹프로그래밍2'에 해당되는 글 18건

[06.04] 수업 내용 :: 2007/06/04 12:15

1. 예외 = 객체로 취급

2. Exam1

more..

3. Exam2

more..

2007/06/04 12:15 2007/06/04 12:15
Name
Password
Homepage
Secret

[06.01] 수업 내용 - Thread :: 2007/06/01 09:24

1. Exam1

Thread 사용 클래스 열기

Runnable 사용 클래스 열기

public class TfromT {

public static void main(String[] args) {

new ThreadTest("Test1").start();
new ThreadTest("Test2").start();

new ThreadTest("Test3").run();
new ThreadTest("Test4").run();

new Thread(new ThreadInterfaceTest()).start();

}

}

- Thread.start()와 Thread.run()의 차이점을 이해하라!!

2. Exam - 우선 순위 차이

more..

2007/06/01 09:24 2007/06/01 09:24
Name
Password
Homepage
Secret

[05.25] 수업 내용 - 인터페이스 :: 2007/05/25 10:26

1. Ex01

interface AAA {

public int w = 0;   // (=public static final int w = 0;)
public int x = 100;
public int y = 200;
public int z = 300;

public void aaa();   // (=public abstract void aaa())
public void bbb();
void ccc();
// int ddd() { return x; } // 인터페이스 안에서는 구현 불가능

public static class Inner{};

}

public class Ex01 {

public static void main(String[] args) {

 // AAA ap = new AAA();     // 인터페이스는 객체로 생성 불가능
 
 System.out.printf("w = %d", AAA.w);
 System.out.printf("x = %d", AAA.x);
 System.out.printf("y = %d", AAA.y);
 System.out.printf("z = %d", AAA.z);
 
 /* final 변수이므로
 AAA.w = 10;
 AAA.x = 10;
 AAA.y = 10;
 AAA.z = 10;
 */

}

}


2. Ex02

interface ExI02 {
int x = 100;
void disp();
}

public class Ex02 implements ExI02 {

public void disp() {
 System.out.printf("x = %d", x);
}

public static void main(String[] args) {
 Ex02 ex = new Ex02();
 ex.disp();
}

}

3. Ex03 - Interface, Abstract Class 모두 적용한 폴리모피즘을 구현한 소스

2007/05/25 10:26 2007/05/25 10:26
Name
Password
Homepage
Secret

[05.21] 수업내용 - 추상 클래스 :: 2007/05/21 12:18

1. 추상 클래스는 그 자체로 객체를 생성할 수 없다.
반드시 상속 받아서 그 클래스를 생성

2. Exam01 : 지난주 클래스를 조금 더 세련되게 바꿈

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/***********************************************************************************/
//추상 클래스 : 도형의 공통적인 속성을 가짐

more..

/***********************************************************************************/


/***********************************************************************************/
//사각형 관련 클래스

more..

/***********************************************************************************/


/***********************************************************************************/
//원 그리기 관련 클래스

more..

/************************************************************************************/


/************************************ MAIN *****************************************/

more..

/***********************************************************************************/

2007/05/21 12:18 2007/05/21 12:18
Name
Password
Homepage
Secret

[05.18] 수업 내용 - 폴리모피즘 :: 2007/05/18 10:28

평소에는 소스 보고 코딩만 했는데, 차라리 오늘같이 자유로 소스를 구현하는 시간이 더 유익한것 같습니다.
다음은 수업시간에 작성한 폴리모피즘을 구현한 소스입니다.

허접하지만 폴리모피즘이 무엇인가 알 수 있는 간단한 소스이니 참고 하세요 ^^

도형 공통 속성 클래스 열기

사각형 클래스 열기



원 클래스 열기


메인 클래스 열기

2007/05/18 10:28 2007/05/18 10:28
Name
Password
Homepage
Secret

[05.14] 수업 내용 :: 2007/05/14 11:40

1. Exam01 - super 의 호출

more..

2. Exam02 - 메소드 오버라이딩

more..

3. Exam03 - 다형성(필드)

more..

4. Exam03_1 - 다형성(Exam03 배열 사용)

more..

05. Exam04 - 상속과 다형성의 비교

more..

2007/05/14 11:40 2007/05/14 11:40
Name
Password
Homepage
Secret

[05.07] 수업 내용 :: 2007/05/07 11:23

1. Exam01

more..

02. Exam03 - private 과 protected

more..

2007/05/07 11:23 2007/05/07 11:23
  • <a href=http://www.louboutinmenshoe.com/>Christian Louboutin shoes</a>, <a href=http://www.louboutinmenshoe.com/>Christian Louboutin outlet</a>, <a href=http://www.louboutinmenshoe.com/>Christian Louboutin men shoes</a>,<a href=http://www.louboutinmenshoe.com/>Christian Louboutin 2012</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-2012-tall-boots-c-3.html>Christian Louboutin 2012</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-ankle-boots-c-9.html>Christian Louboutin Ankle Boots</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-ankle-boots-c-9.html>Discount Christian Louboutin Ankle Boots</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-ankle-boots-c-9.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-daffodile-c-1.html>Christian Louboutin Daffodile</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-daffodile-c-1.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-evening-c-12.html>Christian Louboutin Evening</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-evening-c-12.html>Christian Louboutin Shoes</a>
    <a href=http://www.louboutinmenshoe.com/christian-louboutin-flats-c-14.html>Christian Louboutin Flats</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-flats-c-14.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-mary-jane-pumps-c-8.html>Christian Louboutin Mary Jane Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-mary-jane-pumps-c-8.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-men-shoes-c-15.html>Christian Louboutin Men Shoes</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-men-shoes-c-15.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-new-2012-pumps-c-2.html>Christian Louboutin New 2012 Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-new-2012-pumps-c-2.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-peep-toe-pumps-c-7.html>Christian Louboutin Peep Toe Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-peep-toe-pumps-c-7.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-platform-pumps-c-4.html>Christian Louboutin Platform Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-platform-pumps-c-4.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-pointed-toe-pumps-c-6.html>Christian Louboutin Pointed Toe Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-pointed-toe-pumps-c-6.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-rolando-pumps-c-5.html>Christian Louboutin Rolando Pumps</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-rolando-pumps-c-5.html>Christian Louboutin Pumps</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-sandals-c-13.html>Christian Louboutin Sandals</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-sandals-c-13.html>Christian Louboutin Shoes</a>


    <a href=http://www.louboutinmenshoe.com/christian-louboutin-slingbacks-c-10.html>Christian Louboutin Slingbacks</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-slingbacks-c-10.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/christian-louboutin-wedges-c-11.html>Christian Louboutin Wedges</a>,<a href=http://www.louboutinmenshoe.com/christian-louboutin-wedges-c-11.html>Christian Louboutin Shoes</a>

    <a href=http://www.louboutinmenshoe.com/yves-saint-laurent-pumps-c-16.html>Yves Saint Laurent Pumps</a>,<a href=http://www.louboutinmenshoe.com/yves-saint-laurent-pumps-c-16.html>Christian Louboutin</a>,<a href=http://www.louboutinmenshoe.com/yves-saint-laurent-pumps-c-16.html>Christian Louboutin Sale</a>

    <a href=http://www.louboutinmenshoe.com/yves-saint-laurent-sandals-c-17.html>Yves Saint Laurent Sandals</a>,<a href=http://www.louboutinmenshoe.com/yves-saint-laurent-sandals-c-17.html>Christian Louboutin 2012</a>

Name
Password
Homepage
Secret

[05.04] 수업 내용 - I/O :: 2007/05/04 10:14

오늘 내용은 입출력에 대한 필수 사항이므로 암기 요망!!


1. Ex01 - Print from input str, int

import java.io.*;

public class Ex01 {

public static void main(String[] args) throws IOException {

// 입력 클래스
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);

// 출력 클래스
OutputStreamWriter osw = new OutputStreamWriter(System.out);
BufferedWriter bw = new BufferedWriter(osw);
PrintWriter pw = new PrintWriter(bw);

pw.print("문자열 : ");
pw.flush();
String str = br.readLine();
pw.println(str);
pw.flush();

pw.print("숫자 : ");
pw.flush();
int num = Integer.parseInt(br.readLine());
pw.println(num);

pw.close();
br.close();
}

}

2. Ex22 - Print from File

more..


3. Ex03 - Use Scanner Class

more..


next(): Finds and returns the next complete token from this scanner.

2007/05/04 10:14 2007/05/04 10:14
Name
Password
Homepage
Secret

[04.30] 수업 내용 :: 2007/04/30 11:33

1. FILE I/O - exam1

more..

2. exam2

more..

3. exam3 

more..

4. exam4

more..

5. exam5

more..

6. exam6

more..

7. exam7

more..

8. exam8

more..

2007/04/30 11:33 2007/04/30 11:33
  • Cheap NBA Jerseys | 2012/04/09 17:50 | PERMALINK | EDIT/DEL | REPLY

    Accurate jerseys that will affection your favourite amateur or aggregation could be the best advantage for you to accomplish a appropriate actualization in the crowd Cheap NBA Jerseys

  • Birkenstock | 2012/04/12 11:22 | PERMALINK | EDIT/DEL | REPLY

    as an organic <STRONG><A href="http://www.birkenstock2sale.com/">Birkenstock</A></STRONG>food retailer and developped gradually <STRONG><A href="http://www.birkenstock2sale.com/">Birkenstocks</A></STRONG>to become the biggest Birkenstock distance <STRONG><A href="http://www.birkenstock2sale.com/">Birkenstock sandals</A></STRONG>seller worldwide. This success is principally due<STRONG><A href="http://www.birkenstock2sale.com/">Birkenstock sale</A></STRONG> to outstanding quality, good service <STRONG><A href="http://www.birkenstock2sale.com/birkenstock-shoes">Birkenstock shoes</A></STRONG>and an exhaustive range of products. <STRONG><A href="http://www.birkenstock2sale.com/birkenstock-outlet">Birkenstock outlet</A></STRONG>First-class brands like Birkenstock,<STRONG><A href="http://www.birkenstock2sale.com/birkenstock-online/">Birkenstock online</A></STRONG> Papillio, Betula etc. provided an amazing choice of articles in the online store.

  • gucci sneakers | 2012/05/07 12:03 | PERMALINK | EDIT/DEL | REPLY

    <p><strong><a href="http://www.guccimylove.com/gucci-sukey-handbags-c-130_134.html">Gucci sukey large tote</a></strong></p>
    <p><strong><a href="http://www.guccimylove.com/gucci-boston-handbags-c-130_135.html">Gucci boston bag</a></strong></p>
    <p><strong><a href="http://www.guccimylove.com/gucci-men-bags-c-138.html">Gucci men messenger bag</a></strong></p>
    <p><a href="http://www.guccishoesvips.com/men-gucci-high-shoes-c-68.html"><strong>Men Gucci high shoes</strong></a></p>
    <p><a href="http://www.guccishoesvips.com/women-gucci-pumps-shoes-c-67.html"><strong>Women Gucci pump shoes</strong></a> </p>
    <p><a href="http://www.guccishoesvips.com/women-gucci-sandal-shoes-c-84.html"><strong>Women Gucci Sandal shoes</strong></a></p>
    <p><a href="http://www.freerunnow.com/nike-free-run-2-men-c-124.html"><strong>Nike Free Run 2</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/louis-vuitton-sunglasses-c-6.html"><strong>Louis Vuitton Sunglasses</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/gucci-sunglasses-c-5.html"><strong>Gucci Sunglasses</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/chanel-sunglasses-c-8.html"><strong>Chanel Sunglasses</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/coach-sunglasses-c-12.html"><strong>Coach Sunglasses</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/oakley-sunglasses-c-38.html"><strong>Oakley Sunglasses</strong></a></p>
    <p><a href="http://www.cheapsunglasseshats.com/rayban-sunglasses-c-39.html"><strong>Ray-Ban Sunglasses</strong></a></p>

  • http://www.coachoutletvia.com COACH tote Bingo in the YWCA is simply in time for graduation and moms Day. perform bingo for just about any chance to earn Coach Bags and help the YWCA's powerful children marketing campaign that offers monetary support to youthful children and property owners in need, 6:30 p.m.

Name
Password
Homepage
Secret

[04.16] 수업 내용 :: 2007/04/16 11:32

1. Array - Exam1

소스 보기


2. Array - Exam2

more..

3. Array - Exam3

more..

4. Array - Exam4
이차원 배열

more..


5. Array - Exam5
배열의 동적 생성

more..

2007/04/16 11:32 2007/04/16 11:32
Name
Password
Homepage
Secret