일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- 리액트
- nodejs
- GoogleMaps
- scrollview
- TextView
- 오버라이딩
- Android
- JS
- Kotlin
- 랜덤번호
- RecyclerView
- 랜덤넘버
- array
- fragment
- Linux
- Java
- stylesheet
- npm
- 구글맵스
- React
- Hook
- SpringBoot
- 스프링부트
- 자바스크립트
- 안드로이드
- TypeScript
- button
- 코틀린
- Javscript
- Today
- Total
목록전체 글 (169)
타닥타닥 개발자의 일상
왜 갑자기 붙여넣기가 안되는지 모르겠다. 일단 코드 저장한 메모장을 대신 업로드. 나중에 다시 붙여넣든가 해야겠다.
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 다양한..