일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 이모지삽입
- Database
- class
- 웹소켓연결끊김
- #10952
- .nvmrc
- 웹소켓재시작
- Express
- db
- 클래스
- java
- javascript #nodejs
- 알고리즘 #이진탐색 #이분탐색 #백준 #문제풀이 #문제번호 #1920 #10816 #1654
- Github
- aws
- 패키지설치에러
- 웹소켓연결
- nodejs
- 클라우드
- 노드버전
- 단계별로풀어보기 #while #while문 #반복문 #break
- 백준 #이진탐색 #이분탐색 #알고리즘 #문제풀이 #1300 #배열 #javascript #nodejs
- iam사용자
- 자바
- javascript
- nvmrc
- 백준 #알고리즘 #javascript #js #nodejs #1110 #10951
- 호스팅영역
- 버킷생성
- twelvedata
- Today
- Total
목록class (2)
IT's Jenna
1. 변수의 데이터 타입 1. 기본형 (Primitive Type) 사용하는 값을 변수에 직접 넣음 int, long, double, boolean 직접 연산 가능 2. 참조형 (Reference Type) 객체가 저장된 메모리 위치를 가리키는 참조값(주소값)을 넣음 객체(클래스), 배열 직접 연산 불가, 객체의 기본형 멤버 변수에 접근하여 연산은 가능 Student s1 = new Student(); s1.grade = 100; Student s2 = new Student(); s2.grade = 90; int sum = s1.grade + s2.grade; //연산 가능 자바는 항상 변수의 값을 복사해서 대입한다!!!! package ref; public class VarChange1 { public..
목차 1. 클래스가 필요한 이유 2. 클래스 도입 3. 배열 도입 4. 리펙토링 1. 클래스가 필요한 이유 package class1; public class ClassStart1 { public static void main(String[] args) { String student1Name = "학생1"; int student1Age = 15; int student1Grade = 90; String student2Name = "학생2"; int student2Age = 16; int student2Grade = 80; System.out.println("이름:" + student1Name + " 나이:" + student1Age + " 성적:" + student1Grade); System.out.pri..