This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
이름 : 김문진 | |
깜짝과제 3 | |
*/ | |
public class Work3 { | |
static class Pager{ | |
long totalCount;//전체 게시글 수 | |
int postingSize;//한 페이지에 나오는 게시글 수 | |
int pageSize;//한 화면에 나오는 페이지 수 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.InputMismatchException; | |
import java.util.List; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
깜짝과제 2 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
/* | |
이름 : 김문진 | |
깜짝과제 1 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigDecimal; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 8 | |
*/ | |
public class Test08 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
/* | |
이름 : 김문진 | |
과제 7 | |
*/ | |
public class Test07 { | |
public static class InvalidException extends Exception{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 6 | |
*/ | |
public class Test06 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.time.LocalDate; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 5 | |
*/ | |
public class Test05 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Calendar; | |
import java.util.Random; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 4 | |
*/ | |
public class Test04 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 3 | |
*/ | |
public class Test03 { | |
public static class InvalidException extends Exception{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
/* | |
이름 : 김문진 | |
과제 2 | |
*/ | |
public class Test02 { |
NewerOlder