일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- while
- full text indexing
- angular2
- Validations
- 상속예제
- 단축키
- 전체텍스트
- Login with OAuth Authentication
- 자바
- 형변환
- IBatis procedure
- 페이징
- 업캐스팅
- 전체
- 야구게임
- 추상클래스
- 전자정부
- 자바 야구게임
- 25가지 효율적인 sql작성법
- 로또
- 가변인자
- jquery
- 상속
- Full text
- 다운캐스팅
- 다형성
- 스프링
- Random
- 이클립스
- Today
- Total
목록전체 글 (448)
nalaolla
package test.com; public class Student { protected int num; protected String name; protected String email; protected String phone; public Student() { // TODO Auto-generated constructor stub System.out.println(num); System.out.println(name); System.out.println(email); System.out.println(phone); this.num = 99; this.name = "daniel"; this.email = "aaa@aaa.net"; this.phone = "010-1111-2222"; }} packa..
package test.com; import java.util.Scanner; public class WhyNeedArray { public static void main(String[] args) { // TODO Auto-generated method stub int fstHighScore = 0; int sndHighScore = 0; Scanner sc = new Scanner(System.in); System.out.println("점수입력"); int score1 = sc.nextInt(); if (score1 >= fstHighScore) { sndHighScore = fstHighScore; fstHighScore = score1; } else if (score1 < fstHighScore..
package test.com; public class Test08arrayarray3 { public static void main(String[] args) throws NullPointerException { // TODO Auto-generated method stub System.out.println("다중배열..."); // 임의의 text를 입력하세요... String[][] strss = new String[3][2]; for (int i = 0; i < strss.length; i++) { for (int j = 0; j < strss[i].length; j++) { strss[i][j] = i + "_" + j + "_배열위치"; } } strss[0][0] = "00"; strss[0..
package test.com; public class Test08arrayarray2 { public static void main(String[] args) throws NullPointerException { // TODO Auto-generated method stub System.out.println("다중배열..."); //1차원배열 : 리터럴 >> {1,2,3} //다중(다차원)배열 리터럴 : {{1,2,3},{4,5,6},{7,8,9}} //int[][] suss = new int[3][3]; int[][] suss = { {1,2,3},{4,5,6},{7,8,9} }; suss[0][0] = 1; suss[0][1] = 2; suss[0][2] = 3; for (int i = 0; i <..
package test.com; public class Test08arrayarray { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("다중배열..."); //여러개의 배열을 또 하나의 변수에 넣고자 할때 다중배열을 사용한다. int[] sus1 = new int[3]; int[] sus2 = new int[3]; int[] sus3 = new int[3]; int[] sus4 = new int[3]; int[] sus5 = new int[3]; int[] sus6 = new int[3]; int[][] suss = new int[6][3]; //[행][열], [x][i] --> ..
package test.com; import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader; public class Test05score2 { public static void main(String[] args) throws IOException { // TODO Auto-generated method stub InputStream is = System.in; InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); System.out.prin..