Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Agile Java ѧϰ±Ê¼Ç£¨¶þ£© Æð²½

ÓÉÓÚÓÐÒ»¶¨µÄJavaºÍJUnitµÄ»ù´¡£¬ËùÒԸоõµÚÒ»¿Î±È½Ï¼òµ¥£¬µ«ÊÕ»ñ»¹ÊÇÓе쬱ÈÈçËµÖØ¹¹²¿·Ö½éÉܵÄÄÚÈÝ¡£
JUnitÒªµã£º
²âÊÔ·½·¨µÄÃüÃû¹æÔò£º
l  ·½·¨±ØÐëÉùÃ÷Ϊpublic
l  ·½·¨µÄ·µ»ØÖµ±ØÐëΪvoid
l  ·½·¨µÄÃû×Ö±ØÐëÒÔСдµÄtestΪǰ׺
l  ·½·¨²»ÄܽÓÊÜÈκβÎÊý
 
ÖØ¹¹Òªµã£º
1.   ±£Ö¤ÔÚϵͳÖÐûÓÐÖØ¸´µÄ´úÂë
2.   ±£Ö¤´úÂëÊǸɾ»µÄ£¬²¢ÇÒ¸»ÓбíÏÖÁ¦£¬¿ÉÒÔÇåÎúµØÌåÏÖ³ÌÐòÔ±µÄÒâͼ
 
ÖØ¹¹²¿·ÖÖ÷Òª½²ÁËÁ½µã£º1.  Çå³ý²»±ØÒªµÄ±äÁ¿¡£ 2. ²»ÄÜÓÐÖØ¸´´úÂë¡£
±ÈÈç˵³öÏÖ¶à´ÎµÄÒ»¸ö×Ö·û´®¿ÉÒÔÓÃÒ»¸öfinalµÄ¾Ö²¿±äÁ¿À´Ìæ´ú¡£
 
ÁíÍ⣬ÏÈд²âÊÔ¡£


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

javaÖеļ̳У¨×ÓÀàµ÷Óø¸À๹Ôì·½·¨»¹²»¶®£©

declarations  n. ÉùÃ÷
extends  v. ¼Ì³Ð
¼Ì³ÐÖÐ×¢ÒâµÄÎÊÌ⣺
1  ÖØÐ´(Ò²½Ð¸²¸Ç£¬Ò²½ÐÖØ¹¹)£ºÖØÐ´·½·¨±ØÐëºÍ±»ÖØÐ´·½·¨¾ßÓÐÏàͬµÄ·½·¨Ãû³Æ¡¢²ÎÊýÁбíºÍ·µ»ØÖµÀàÐÍ£»
            ÖØÐ´·½·¨²»ÄÜʹÓñȱ»ÖØÐ´·½·¨¸üÑϸñµÄ·ÃÎÊȨÏÞ¡£
ÖØÐ´ÊÇÀàÓëÀà ......

Use Java Mail API to Send Email

private String smtpHost;
private String smtpUserName;
private String smtpPassword;
public void sendEmail(String fromAddress, List<String> toAddresses, List<String> ccAddresses,
String subject, String message) {
Properties props = new Properties();
props.put("mail.smtp.host", smt ......

javadoc£¬ÔÚ Java µÄ×¢ÊÍÉÏ×öÎÄÕÂ

Ŀ¼
¡¡¡¡Ç°ÑÔ
¡¡¡¡Ò». Java ÎĵµºÍ javadoc
¡¡¡¡¶þ. Îĵµ×¢Ê͵ĸñʽ
¡¡¡¡¡¡¡¡1. Îĵµ×¢Ê͵ĸñʽ»¯
¡¡¡¡¡¡¡¡2. Îĵµ×¢Ê͵ÄÈý²¿·Ö

¡¡¡¡Èý. ʹÓà javadoc ±ê¼Ç
¡¡¡¡¡¡¡¡1. @see µÄʹÓÃ
¡¡¡¡¡¡¡¡2. ʹÓà @author¡¢@version ˵Ã÷Àà
¡¡¡¡¡¡¡¡3. ʹÓà @param¡¢@return ºÍ @exception ˵Ã÷·½·¨
¡¡¡ ......

JavaÖÐbooleanÀàÐ͵ÄλÔËËã

    JavaÈÕ»ýÔÂÀÛ-1£ºJavaÖÐbooleanÀàÐ͵ÄλÔËËã
     1. Ê×ÏȻعËÒ»ÏÂjavaÖеÄ8Öлù±¾ÀàÐͼ°Æä´æ´¢ËùÕ¼ÓõÄbitÊý¡£
ÀàÐÍ
bitÊý
byte
8
short
16
int
32
float
32
long
64
double
64
char
16
boolean
1
     2. ÔٻعËÒ»ÏÂjavaµÄÔËËã·ûºÍÓÅÏȼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ