| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 깃허브 블로그
- 티스토리 블로그
- 오라클
- 백준문제
- 전화번호부
- for문
- 자바
- Oracle
- 설정
- spring
- 환경설정
- ORA-01407
- 이클립스
- 오류
- 파워서플라이
- while
- jsp
- 별 찍기
- Ajax
- 무결성 제약조건
- 이클립스단축기
- 백준문제풀이
- 인터페이스
- 순환문
- MSI
- ORA-02292
- 오류모음
- 백준
- 스프링
- 공부
- Today
- Total
목록Java (17)
danDevlog
while문 public class Main { public static void main(String[] args) { int tot = 0;// 1~10 합을 누적할 변수. int i = 1; // 1씩 순차적으로 증가할 증가값. while (i
// 피라미드 별 출력 // 1, 3, 5, 7, 9... 씩 늘어나는 규칙을 알아내는 것이 중요 import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); for(int i = 0; i
public class Main { public static void main(String[] args) { boolean isMarried = false; // 참 혹은 거짓의 값만 가짐. // 분기문과 어울림. if (isMarried) System.out.println("기혼"); else System.out.println("미혼"); } }// 학점 계산(switch문) import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int jumsu = sc.nextInt(); switch (jumsu / 10) { case 10: case..
Java 2일차 public class Main { public static void main(String[] args) { // 1~10까지 합계를 구하세요. int tot = 0;// 1~10 누적 합계 저장. for (int i = 1; i
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); // 화면 상에서 값을 입력하려고 할때, // 입력을 처리해 주는 Scanner 클래스에서 생성한 객체 cin // 즉, 입력 처리를 도와주는 요소. int a = cin.nextInt(); // 입력 객체를 이용하여 숫자값을 받아 들이고 변수 a에 저장. // int a=11; int b = cin.nextInt(); System.out.println(a + b); cin.close(); // 입력 자원을 운영체제로 부터 빌려 사용하고, // 사용이 끝나서 반납한다는 의미. } } ..