일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 안드로이드
- stylesheet
- Java
- Hook
- 자바스크립트
- nodejs
- JavaScript
- 구글맵스
- SpringBoot
- Kotlin
- GoogleMaps
- RecyclerView
- 코틀린
- Javscript
- scrollview
- 스프링부트
- 랜덤번호
- Linux
- button
- 랜덤넘버
- 오버라이딩
- TypeScript
- 리액트
- Android
- JS
- array
- React
- TextView
- fragment
- npm
- Today
- Total
목록코딩 기록 (150)
타닥타닥 개발자의 일상
if 조건문 형식 : if(조건){ 조건 -> true/false 처리 } 조건의 종류 ==(같다), >(크다), =(크거나 같다), 0) {//=5) { System.out.println("number는 5보다 크거나 같습니다."); } //논리 연산자와 사용하는 조건 boolean b = true; if(b == true ) { System.out.println("b는 true입니다."); } if (b) { System.out.println("if(b)는 true입니다."); } b= false; if(b ==false) { System.out.println("b는 false입니다."); } if(!b) { System.out.println("if(b)는 false입니다."); } if(number..
Array : 같은 자료형의 묶음 변수들. 접근 및 관리는 index로 관리 된다. 0~ Array.length-1 int Arr[] = new int[5]; // 0~4 동적으로 할당한 후에 정적으로 사용한다. 1차원 배열 0-0-0-0-0-0 행(row), 선형으로 이루어졌다. ex) int array[] = {1,2,3,4,5}; 2차원 배열 0-0-0-0-0 ->행 0-0-0-0-0 0-0-0-0-0 ex) int array2[][] = new int [3][4]; 0-0-0-0-0 ->3행이 있고 그 행안에 원소가 4개가 있다. 0-0-0-0-0 0-0-0-0-0 int array2[][] = new int [3][4]; int []array2[] = new int [3][4]; int [][]..
자바의 연산자 (Operator) + - * / % 사칙연산 ++ increment 증가 -- decrement 감소 Arithemetic = 산수, 연산 ----------------------------------------------------입력창---------------------------------------------------- public class MainClass { public static void main(String[] args) { int number1, number2; int result; number1 =25; number2 =7; result = number1 + number2; System.out.println(result); //25+7 =32 출력 result =..
왜 갑자기 붙여넣기가 안되는지 모르겠다. 일단 코드 저장한 메모장을 대신 업로드. 나중에 다시 붙여넣든가 해야겠다.
Array: 배열. 같은 자료형 변수들의 묶음. Array의 목적: 변수들 관리. 관리는 index number 구분해서 관리. int num1, num2, num3, num4, num5; num1 = 11; num2 = 22; num3 = 33; 형식: 자료형 배열변수명[] = new 자료형[배열의 총 갯수]; 배열변수명[index number] int arrName[] = new int[5]; ->정수형 변수 5개 선언 4*5=20byte 동적(dynamic)할당 : 원하는 갯수만큼 할당 가능 정적(static)할당 : 정하는 갯수만큼만 할당 int *arrName = new int[5]; arrNam[0] = 11; arrNam[1] = 22; arrName[2] = 33; arrName[3] = ..
자료형 byte 우선순위 예(그릇) boolean 1 낮음 작다 byte 1 short 2 int 4 long 8 float 4 double 8 높음 크다 char 2 (한글자당 2byte) 따라서 String "ABC" -> 6 byte (자료)형 변환의 종류 두가지 1. 자동 (자료)형 변환 2. 강제 (자료)형 변환 ->Cast //자동(자료)형 변환 short sh = 12345; //2byte int num; //4byte num = sh; //자동 (자료)형 변환 System.out.println(num); // 오류 없이 12345로 출력된다. num = 234567; sh = (short)num; System.out.println(sh); //-27577라는 엉뚱한 값으로 출력된다. lon..
문제1 )Java로 다음과 같이 출력되는 프로그램을 사용하라 (변수 사용) =============================================== | name age lady phone height address | =============================================== | “홍길동” 20 false 010-111-2222 175.12 “경기도” | “일지매” 18 false 02-123- 4567 180.01 “서울” | “장옥정” 14 true 02-345- 7890 155.78 “부산” =============================================== 문제 1 답) public class Homeworkanswer { public st..
문제) 두개의 정수 값을 입력받고 x, y 변수에 저장한 후에 x, y 값을 바꾸고 출력하도록 프로그램을 작성하라 int x, y; x = 1 y = 2 출력: x = 2 y = 1 =================================코드======================================= public class Homeworkanswer { public static void main(String[] args) { int x,y; int temp; x=1; y=2; temp = x; //temp에 x의 값이었던 1을 저장 x = y ; // x는 y에 대입된 값인 2를 출력 y = temp; //y는 temp 의 값인 1을 출력 System.out.println("x= "+x +..
https://code.jquery.com/ jQuery CDN The integrity and crossorigin attributes are used for Subresource Integrity (SRI) checking. This allows browsers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libr code.jquery.com 여기 들어가서 원하는 버전의 J-Query 코드 복사한뒤 사이에 붙여넣으면 끝
1. 부트스트랩 미리 만들어 놓은 Css 적용 및 미리보기 가능 https://getbootstrap.com/ Bootstrap The most popular HTML, CSS, and JS library in the world. getbootstrap.com 2. 마터리얼라이즈 부트 스트랩과 마찬가지로 다양한 CSS 참고 가능 https://materializecss.com/ Documentation - Materialize materializecss.com 3. 시멘틱 Sementic 역시 다양한 CSS 참고 가능 https://semantic-ui.com/ Semantic UI Shipping Choose your shipping options semantic-ui.com 4. CODEPEN 다양한..