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
| package study; | |
| import java.io.IOException; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.annotation.WebServlet; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
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
| package oop.method4; | |
| public class Student { | |
| String name; | |
| int korean; | |
| int english; | |
| int math; |
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
| package day11Review; | |
| public class quiz01 { | |
| public static void main(String[] args) { | |
| int[] number = new int[] { 6, 5, 3, 1, 8, 7, 2, 4 }; | |
| // int a =6; // number[0] | |
| // int b =5; // number[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
| package array; | |
| //import java.lang.*; | |
| public class test11 { | |
| public static void main(String[] args) { | |
| // 다음 데이터를 배열에 저장하고 주어진 문제에 맞게 위치를 조작하여 출력 | |
| // 자바, 자바스크립트, 파이썬,루비, c# |
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
| package day09Review; | |
| import java.lang.*; | |
| import java.util.Scanner; | |
| public class prime2 { | |
| 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
| package loop; | |
| import java.lang.*; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| public class test13 { | |
| 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
| package work; | |
| import java.lang.*; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| public class workOut { | |
| public static void main (String [] args ) { | |
| //사용자에게 연도를 입력받아 해당하는 연도의 무작위 날짜 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
| package condition; | |
| import java.lang.*; | |
| import java.util.Scanner; | |
| public class Quiz01 { | |
| 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
| package input; | |
| import java.lang.*; | |
| import java.util.Scanner; | |
| public class Quiz02 { | |
| public static void main (String[] args) { | |
| //PC방 충전 프로그램 | |
| //우리 PC방의 요금충전방식은 다음과 같습니다. |
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
| package basic; | |
| import java.lang.*; | |
| public class Quiz03 { | |
| public static void main(String[] args) { | |
| // 아무 글자나 하나 char 형태에 저장하시고 문제를 푸세요. | |
| // (1) 저장한 값이 "숫자"라면 true , 아니라면 false를 출력 |