|
|
|
|
Booleanpublic Boolean(String s)
- Allocates a
Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true" . Otherwise, allocate a Boolean object representing the value false . Examples:
new Boolean("True") produces a Boolean object that represents true. new Boolean("yes") produces a Boolean object that represents false.
- Parameters:
s - the string to be converted to a Boolean .
빨간 폰트 부분에서 피식 웃었다. 자바에선 파란 폰트만 알면, Boolean 객체를 생성하는데 문제가 없다.
JS 에선 Boolean 객체 생성하는게 조금 개념이 다르다. 유의 할 것.
yes!!
|
|
|
|
|
|
« 2025/07 »
일 |
월 |
화 |
수 |
목 |
금 |
토 |
|
|
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 |
|
|
|
Total :
Today :
Yesterday : |
|
|
 |
 |
 |
|