last-modified: Dec/12th/2003
Java $B$G$OJQ?t!"%/%i%9!"%a%=%C%I$r;O$a$H$7$F!"B?$/$N$b$N$K<1JL$9$k$?$a$NL>A0$r$D$1$kI,MW$,$"$k!#$3$NL>A0$N;v$r<1JL;R$H8F$V!#(B
$B<1JL;R$O$[$H$s$I<+M3$K7h$a$i$l$k$,!"
$
, _
$B$N2?$l$+$H$9$k!#(Bfalse
, true
(boolean literal) $B$OIT2D!#(Bnull
(null literal) $B$OIT2D!#(B$B%-!<%o!<%I$K$O
abstract default if private this boolean do implements protected throw break double import public throws byte else instanceof return transient case extends int short try catch final interface static void char finally long strictfp volatile class float native super while const for new switch continue goto package synchronized assert
$B$3$l$K(B false
, true
, null
$B$N;0$D$r2C$($k$H(B52$B8D$K$J$k!#(B
J2SDK 1.4 $B$G$O%"%5!<%7%g%s$H8F$P$l$k9=B$$r5-=R$9$k$?$a$K!"(Bassert
$B$H$$$&%-!<%o!<%I$,?7$7$/DI2C$5$l$?!#%G%U%)%k%H$G$O!"(Bassert
$B$O%-!<%o!<%I$H$O2r$5$l$:$K!"JQ?tL>$d%a%=%C%IL>$K;H$($k!#$7$+$7!"%3%s%Q%$%k;~!" $B$OJQ?t$d%a%=%C%I$N<1JL;R$K;H$o$J$$$h$&$K$9$kI,MW$,$"$k!#(B
assert $B$r%-!<%o!<%I$H$7$F;H$&%3%s%Q%$%k(B >javac -soruce 1.4 AssertDemo.java
assert $B$rM-8z$K$7$F$B5-9f(B
$B5-9f$,5v$5$l$kJ8;z$G$"$k$+$I$&$+$rD4$Y$k$?$a$K$O!"r7o$H$9$k!#(B
class JavaCharacter { public static void main(String[] args) { boolean bln = Character.isJavaIdentifierStart('?'); System.out.println(bln); } }
Java $B$N<1JL;R$K4^$^$l$kJ8;z$H$7$F!V(B?$B!W$,E,@Z$G$"$l$P(B true $B$,=PNO$5$l$^$9!#(B
C:\Java>javac JavaCharacter.java C:\Java>java JavaCharacter false C:\Java>$B!V(B?$B!W$O<1JL;R$K4^$^$l$kJ8;z$H$7$FITE,@Z$J$N$G(B false $B$,=PNO$5$l$^$7$?!#(B
Naming Convention
$B5,B'$N$[$+$K!"%=!<%9%3!<%I$r5-=R$9$k$H$-$N47=,!J%3%s%Y%s%7%g%s!K$,$"$j$^$9!#$3$l$K=>$&$3$H$G!"B>$N?M$,=q$$$?%=!<%9%3!<%I$,FI$_$d$9$/$J$j!"J#?t?M$,7H$o$k3+H/$N8zN($,HtLvE*$K9b$^$j$^$9!#8D?M$N3+H/$G$b!"2a5n$K<+J,$N=q$$$?%=!<%9%3!<%I$,FI$_$d$9$3$H$O!"%G%P%C%08zN($J$I$NLdBj$+$iNI$$;v$G$9!#(B
- $B1Q?tJ8;z$r;H$&!#(B
- $B%Q%C%1!<%8L>$O>.J8;z$r;H$&!#(B
- $B%/%i%9!"%$%s%?%U%'!<%9L>$OBgJ8;z$G$O$8$a$k!#(B
- $B%a%=%C%I!"JQ?tL>$O>.J8;z$G$O$8$a$k!#(B
- $B%a%=%C%IL>$OF0;l$G$D$1$k!#Nc!K(B
get()
- $B%/%i%9!"JQ?tL>$OL>;l$G$D$1$k!#Nc!K(B
Getter
,Manager
,id
- static $B@k8@$5$l$?JQ?t!JDj?t!KL>$O$9$Y$FBgJ8;z$G$D$1$k!#(B
- $BJ#?t$NC18l$+$i$J$k>l9g$O6h@Z$j$GBgJ8;z$r;H$&!#Nc!K(B
getCust()
,PersistenceManager
,custId
- $BDj?t$,J#?t$NC18l$+$i$J$k>l9g$O!V(B_$B!W$G6h@Z$k!#Nc!K(B
CUST_ID
- $B5v$5$l$k>l9g$G$b5-9f$O;H$o$J$$!#(B
Convention $B$K$OB>$K$bB?$/$N
Sun Microsystems $B$N8x3+$7$F$$$kJ8=q(B$B$b;2>H$9$k$HNI$$$G$7$g$&!#(B
Copyright © 2001-2003 SUGAI, Manabu. All Rights Reserved.
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送