일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 연산자
- GUI
- Event
- function
- array
- springframework
- html
- kotlin #return #jump
- 코틀린#클래스#상속
- 연락처 프로그램
- javaservlet
- 데이터베이스
- 오라클
- 상속
- 자바
- 다형성
- spring
- jQuery
- Method
- File 클래스
- jsp
- 윈도우 #단축키
- property
- JavaScript
- 설치
- 파일 입출력
- Java
- list
- String
- css
- Today
- Total
목록자바 (31)
Binary World
1. 반복문을 사용해서, 'A'부터 'Z'까지 출력하는 프로그램 2. 다음과 같이 출력하는 프로그램*************** 3. sum = 1 + (-2) + 3 + (-4) + 5 + .... + n >= 100 을 만족하는 n과 sum의 값을 출력 public class HomeworkMain02 { public static void main(String[] args) {// 1. 반복문 사용, 'A'부터 'Z'까지 출력char ch = 'A';for (int i = 1; i < 27; i++){System.out.println(ch);ch ++;}System.out.println("============");// 2. 별표 출력하기for(int i = 1; i
*ArrayMain02(배열의 선언, 초기화, 출력) public class ArrayMain02 { public static void main(String[] args) {System.out.println("배열의 선언, 초기화, 출력");// int 10개를 저장할 수 있는 배열 선언int[] array = new int[10];// 배열의 길이를 출력System.out.println(array.length);System.out.println("===============");// 배열의 인덱스 : 0 ~ (length - 1)// for문을 사용한 배열의 초기화for (int i = 0; i < array.length; i++) {array[i] = (i + 1) * 10;}// for문을 사용한 ..
* ForMain01(for반복문) public class ForMain01 { public static void main(String[] args) {System.out.println("for 반복문");for(int x=1; x
*IfMain01 public class IfMain01 {public static void main(String[] args){System.out.println("if-else 문");int x = 100;if (x > 0){System.out.println("양수");} else {System.out.println("0보다 크지 않음");}System.out.println("첫번째 if-else 끝");System.out.println("==================");int y = 100;if(y > 0){System.out.println("양수입니다!");} else {System.out.println("0보다 크지 않습니다.");}} // end main()} // end class IfM..
* OperatorMain01(자바의 계산) public class OpMain01 { public static void main(String[] args) {System.out.println("[1] 대입 연산자(=)");// 변수 = 값;// 오른쪽의 값을 왼쪽의 변수에 저장하는 연산자int number = 123;System.out.println("number = " + number);System.out.println("===============");System.out.println("[2] 산술 연산자(+, -, *, /, %)");// (정수) / (정수) : 나눈 몫을 계산// (정수) % (정수) : 나눈 나머지르르 계산// (실수) / (실수), (실수) / (정수), (정수) / (실수..
* Primitive Data type : boolean, Numeric Type * Numeric Type : Integral Type , Floating-Point Type * Integral Type : byte, short, int, long, char * Floating-Point Type : float, double * Reasoning of classified is different of saving byte. It is necessary in optimization. byte : 1 byte =(8 bits) -> -128 ~ 127short : 2 byte = (16 bits) -> -32,768 ~ 32,767int : 4 byte = (32 bits) long : 8 bytechar ..
이클립스 설치 날짜 : 2016/12/29이클립스 설치 버전 : Neon.2 Release (4.6.2)이클립스 설치 OS : Window7 64bit 이클립스(영어: Eclipse)는 다양한 플랫폼에서 쓸 수 있으며, 자바를 비롯한 다양한 언어를 지원하는 프로그래밍 통합 개발 환경을 목적으로 시작하였으나, 현재는 OSGi를 도입하여, 범용 응용 소프트웨어 플랫폼으로 진화하였다. 1. 이클립스 설치하기이클립스를 설치하기 위해 이클립스 홈페이지에 접속 1) 홈페이지 접속 및 다운로드 버튼 클릭 2) 다운로드 클릭 3) 다운로드 된 인스톨러(eclipse-inst-win64.exe)를 클릭하고 두 번째 항목 선택 4)설치 폴더를 지정해주고 install 클릭 5) 시작 버튼을 눌러 이클립스 시작 6) OK를..