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
| {"lastUpload":"2025-10-30T06:29:33.299Z","extensionVersion":"v3.4.3"} |
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.*; | |
| import java.util.*; | |
| class Pager{ | |
| long totalCount; | |
| Pager(long totalCount){ | |
| this.totalCount = totalCount; | |
| } |
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.BufferedReader; | |
| import java.io.InputStreamReader; | |
| import java.util.*; | |
| import java.io.IOException; | |
| public class Assignment_02 { | |
| static class Point{ | |
| int y; | |
| int x; | |
| long dist; |
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; | |
| public class Assignment_01 { | |
| public static void main(String[] args){ | |
| try{ | |
| File file = new File("property.html"); | |
| BufferedWriter writer = new BufferedWriter(new FileWriter(file)); |
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; | |
| public class UserSolution { | |
| public static void main(String[] args){ | |
| while(true){ | |
| System.out.println("<<<<[메뉴선택]>>>>"); | |
| String[] text = {"회원 관리", "과목 관리", "수강 관리", "결제 관리", "종료"}; | |
| for (int i = 1, j = 0; i <= 5; i++, j++){ | |
| System.out.println(i + ". " + text[j]); |
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
| /* | |
| 김세훈 | |
| file 입력을 받아 알파벳의 개수와 전체 알파벳 개수에서 현재 알파벳의 비율 산출 코드 | |
| */ | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.util.List; |
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; | |
| public class JavaStudy08 { | |
| static long[] stdValue = { // 과세 표준 |
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
| /* | |
| 김세훈 | |
| 배열과 반복문을 통한 로또 시뮬레이션 | |
| 로또 번호는 일반적으로 오름차순으로 출력되므로 Arrays.sort()를 수행하여 오름차순으로 되도록 조정함 | |
| */ | |
| import java.util.Arrays; | |
| import java.util.Random; | |
| 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
| /* | |
| 김세훈 | |
| 배열과 반복문을 통한 투표 시뮬레이션 | |
| */ | |
| import java.util.Random; | |
| public class JavaStudy06 { | |
| public static void main(String[] args){ | |
| Random random = new Random(); |
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
| /* | |
| 김세훈 | |
| LocalDate 클래스를 이용한 달련 구현 | |
| */ | |
| import java.util.Scanner; | |
| import java.time.LocalDate; | |
| public class JavaStudy05 { | |
| public static void main(String[] args){ |
NewerOlder