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

Çë½Ìjava ÎÊÌâ¡£

дһ¸öApplication³ÌÐò£¬½çÃæÉÏ·ÅÖÃÁ½¸öTextfield,Ò»¸öButton,Óû§ÔÚµÚÒ»¸öTextfieldÖÐÊäÈëÐÕÃûºóÇûسµ¼ü¿ÉÒÔÔÚµÚ¶þ¸öTextfieldÖÐÊä³ö£º“Welcome you,ÓÃÐÕÃû”¡£Óû§µã»÷Button¿ÉÒÔÍ˳ö³ÌÐò¡£
°ï°ïæ°É£¡¼òµ¥µÄJavaÓïÑÔ¡£Ð»Ð»À²£¡


Ïà¹ØÎĵµ£º

JavaÖеÄPatternÀàºÍMatcherÀà

¼ò¶øÑÔÖ®£¬ÕâÁ½¸öÀàÊÇÓÃÀ´ÀûÓÃÕýÔò±í´ïʽÑéÖ¤×Ö·û´®ÓÐЧÐԵġ£
PatternÀàÓÃÀ´¶¨ÒåÕýÔò±í´ïʽ¹æÔò£¬MatcherÀàÓÃÀ´¶¨ÒåÒªÑéÖ¤µÄ×Ö·û´®¡£
Ó÷¨£º
Pattern p = Pattern.compile("a*b"); 
Matcher m = p.matcher("aaaaab"); 
boolean b = m.matches();
µ±È»£¬Ò²¿ÉÒÔÖ±½ÓÓÃPatternÀàÖ±½ÓÑéÖ¤£¬Ó÷¨£º
boolean ......

Java enum ö¾ÙÀàÐÍ

Java enum ö¾ÙÀàÐÍ
ö¾ÙÀàÐÍÊÇÒ»¸ö³£Á¿¼¯ºÏµÄÊý¾ÝÀàÐÍ¡£
ÒòΪ¶¼Êdz£Á¿£¬ËùÒÔÒ»¸öö¾ÙÀàÐÍÖеÄ×Ö¶ÎÃû¶¼Òª´óд¡£
ÔÚJAVAÖУ¬Ã¶¾ÙÀàÐ͵Ķ¨ÒåÊÇͨ¹ý“enum“¹Ø¼ü×Ö½øÐеġ£ÀýÈçÄãÒª¶¨Òå
Ò»¸ö±íʾһ¸öÐÇÆÚµÄÿһÌìµÄö¾ÙÀàÐÍ£º
public enum Day {
  SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY ......

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ


1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢native2ascii¡¢serialver£¬Èç¹ûÕâЩÃüÁ ......

Java¼¸¸ö¹ýÂËÆ÷ѧϰ¼¼ÇÉ

import javax.servlet.*;
¡¡¡¡import javax.servlet.http.HttpServletResponse;
¡¡¡¡import java.io.IOException;
¡¡¡¡/**
¡¡¡¡* ÓÃÓÚµÄʹ Browser ²»»º´æÒ³ÃæµÄ¹ýÂËÆ÷
¡¡¡¡*/
¡¡¡¡public class ForceNoCacheFilter
¡¡¡¡implements Filter
¡¡¡¡{
¡¡¡¡publi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ