Expressions package com.Hazel; public class Main { public static void main(String[] args) { int score = 100; // score에서 100까지가 exp if(score > 99) { System.out.println("You got the high score!"); score = 0; } } } data type과 ;을 제외한 부분이 expression이다. brace와 bracket 안은 expression이다. if, brace와 bracket은 expression이 아니다. score = 0는 expression이다. package com.Hazel; public class Main { public static voi..
Functional Programming TerminologyThe functions that take a function as an argument, or return a function as a return value are called higher orderfunctions. When the functions are passed in to another function or returned from another function, then those functions which gets passed in or returned can be called a lambda. Functions that can be assigned to a variable, passed into another function..
To-DoUdemy JAVA 강좌 듣기- 18. Getting to know primitive types(Float and Double)- 19. Getting to know primitive types(Char and Boolean)- 20. Uderstanding Strings and Finishing up primitive types- 21. Operators in Java- 22. More on Operators and Operator Precedence- 23. Java Tutorial Intro- 24. Keywords and Expressions- 25. Statements, Whitespace and Indentation(Code organization)- 26. Code Blocks an..
Int, Byte, Short, Long package com.Hazel; public class Main { public static void main(String[] args) { // int has a width of 32 int myMinValue = -2_147_483_648; int myMaxValue = 2_147_483_647; // byte has a width of 8 byte myMinByteValue = -128; byte myMaxByteValue = 127; // short has a width of 16 short myMinShortValue = -32_768; short myMaxShortValue = 32_767; // long has a width of 64 long my..
A more efficient way is to set the prototypeto a new objectAdd the property numLegsand the two methods eat()and describe()to the prototypeof Dogby setting the prototypeto a new object.There is one crucial side effect of manually setting the prototypeto a new object. It erased the constructorproperty! To fix this, whenever a prototype is manually set to a new object, remember to define the constr..
To-DoUdemy JAVA 강좌 듣기- 13. First steps - creating your first Java program- 14. Exploring IntelliJ IDEA- 15. Variables, Datatypes and Operators Intro- 16. What are Variables?- 17. Getting to know primitive types(Byte, Short, Int and long)- 18. Getting to know primitive types(Float and Double)- 19. Getting to know primitive types(Char and Boolean)- 20. Uderstanding Strings and Finishing up primiti..
ES7 'Helloooo'.includes('o'); // true const pets = ['cat', 'dog']; pets.includes('cat'); // true const sqaure = (x) => x**2 square(2); // 4 square(5); // 25 const cube = (x) => x**3 cube(3); // 27 ES8 .padStart() .padEnd() 'Turtle'.padStart(10); // " Turtle" 합쳐서 total 10 스페이스 'Turtle'.padEnd(10); // "Turtle " 합쳐서 total 10 스페이스 const fun = (a,b,c,d,) => { console.log(a); } fun(1,2,3,4,); // print..
- Total
- Today
- Yesterday
- 깃
- Prefix Sums
- 제네릭스
- 알고리즘
- Data Structure
- til
- CSS
- 인스턴스
- oracle
- 개발 공부
- this
- react
- 리덕스
- c언어
- 포인터 변수
- rxjs
- useEffect
- getter
- package.json
- Session
- youtube data api
- linkedlist
- JavaScript
- GIT
- SQL
- Redux
- jQuery
- Java
- 자바
- Conflict
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |