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
/* | |
제로베이스 35기 김현승 | |
*/ | |
package JavaTask; | |
public class MultiThreadDownload { | |
public static void main(String[] args) { | |
String[] files = {"파일_1.zip", "파일_2.mp4", "파일_3.pdf"}; |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
package JavaTask; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class AgeRestrictionSystem { |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
package JavaTask; | |
import java.util.Scanner; | |
public class ATMSystem { | |
public static void main(String[] args) { |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Scanner; |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
import java.util.HashSet; | |
import java.util.Scanner; | |
public class MemberManager { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.Scanner; | |
class Contact { |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
import java.io.*; | |
public class BufferedFileCopy { | |
private static final int BUFFER_SIZE = 8192; // 8kb | |
public static void main(String[] args) { |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
import java.io.IOException; | |
import java.util.Scanner; | |
public class Student_Information_Input_Program { | |
public static void main(String[] args) throws IOException { | |
//학생 정보 입력 프로그램 만들기 |
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
/* | |
제로베이스 35기 김현승 | |
*/ | |
//사용자 정의 예외 클래스 (Unchecked Exception) | |
public class InsufficientBalanceException extends RuntimeException{ | |
public InsufficientBalanceException(String message){ | |
super(message); | |
} |
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
/*제로베이스 35기 김현승*/ | |
import java.time.LocalDate; | |
import java.util.Scanner; | |
public class CalendarPrinter { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.println("[달력 출력 프로그램]"); | |
System.out.print("달력의 년도를 입력해주세요.(yyyy): "); |