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

ÈÏʶJavaÐéÄâ»úµÄÄÚ²¿Ìåϵ½á¹¹

JavaÐéÄâ»úµÄÄÚ²¿Ìåϵ½á¹¹Ò²ÐíºÜÉÙÓÐÈËÈ¥¹ØÐÄ£¬ÒòΪ¶ÔÓÚJava³ÌÐòÔ±À´Ëµ£¬Ò»°ãÖ»ÐèÒª¸úAPI´ò½»µÀ¾Í¿ÉÒÔÁË¡£ÕâЩÌåϵ½á¹¹Ö»ÊÇJavaÐéÄâ»úÄÚ²¿µÄ½á¹¹¶øÒÑ¡£µ«ÊÇÈç¹ûÀí½âÁËÆäÄÚ²¿½á¹¹£¬¶ÔÓÚÎÒÃÇ¿ª·¢ÏîÄ¿£¬ÒÔ¼°ÅųýϵͳÖеÄÏà¹Ø¹ÊÕÏÊÇÓÉ°ïÖúµÄ¡£
ÏÈ¿´¿´×ÜÌå½á¹¹Í¼£¬ÈçÏ£º
¸÷²¿·ÖµÄÖ÷Òª¹¦ÄÜ·Ö±ðÊÇ£º
1. Àà×°ÔØ×Óϵͳ:¸ºÔðJavaÀàÐ͵Ä×°ÔØÁ¬½ÓÒÔ¼°³õʼ»¯¡£JavaÐéÄâ»úÓÐÁ½ÖÖÀà×°ÔØÆ÷£¬Æô¶¯Àà×°ÔØÆ÷ºÍÓû§×Ô¶¨ÒåÀà×°ÔØÆ÷¡£Æô¶¯Àà×°ÔØÆ÷ÊÇJAVAÐéÄâ»úʵÏÖµÄÒ»²¿·Ö£¬×Ô¶¨Òå×°ÔØÆ÷ÊÇJAVA³ÌÐòµÄÒ»²¿·Ö¡£Óɲ»Í¬Àà×°ÔØÆ÷×°ÔصÄÀཫ±»·ÅÔÚ²»Í¬µÄÃüÃû¿Õ¼äÖС£
2. ·½·¨Çø£º·½·¨ÇøÖ÷Òª´æ´¢2ÀàÐÅÏ¢£¬Ò»ÊDZ»×°ÔصÄÀàÐÍÐÅÏ¢£¬´ÓclassÎļþÁ÷ÖÐÌáÈ¡¡£¶þÊÇÀàÐÍÖеÄÀࣨ¾²Ì¬£©±äÁ¿¡£·½·¨ÇøÖеÄÐÅÏ¢ÊÇËùÓÐÏ̹߳²ÏíµÄ£¬ËùÒÔ¶Ô·½·¨ÇøµÄÊý¾Ý·ÃÎʱØÐëÉè¼Æ³ÉΪḬ̈߳²È«µÄ¡£
3. Java¶Ñ£º´æ·ÅjavaÔËÐÐʱ´´½¨µÄËùÓÐÀàʵÀý»òÊý×é¡£Ò»¸öjavaÐéÄâ»úʵÀýÖÐÖ»´æÔÚÒ»¸ö¶Ñ¿Õ¼ä£¬ËùÓÐÏ̹߳²Ïí£¬Òò´ËÉè¼Æ³ÌÐòʱҲҪ¿¼Âǵ½¶àÏ̷߳ÃÎʶÑÊý¾ÝµÄͬ²½ÎÊÌâ¡£
4. JavaÕ»£ºÃ¿µ±Æô¶¯Ò»¸öÐÂỊ̈߳¬JAVAÐéÄâ»ú¶¼»á´´½¨Ò»¸öеÄJAVAÕ»£¬ÓÃÓÚ±£´æÏ̵߳ÄÔËÐÐ״̬¡£JAVAÕ»ÖеÄÊý¾Ý¶¼ÊÇ˽Óеģ¬Ïß³ÌÖ®¼ä²»ÄÜÏ໥·ÃÎʸ÷×ÔµÄÕ»¡£µ±Ò»¸öÏ̵߳÷ÓÃÒ»¸ö·½·¨Ê±£¬·½·¨µÄ¾Ö²¿±äÁ¿±£´æÔÚ¸ÃÏ̵߳ÄÕ»ÖС£ËùÒÔ·½·¨ÄÚ´´½¨µÄ¾Ö²¿±äÁ¿¶¼²»´æÔÚḬ̈߳²È«ÎÊÌâ¡£
5. PC¼Ä´æÆ÷£ºÓнгÌÐò¼ÆÊýÆ÷¡£Ã¿¸öÏ̶߳¼ÓÐ×Ô¼ºµÄ³ÌÐò¼ÆÊýÆ÷£¬ÔÚÏß³ÌÆô¶¯µÄʱºò×Ô¶¯´´½¨¡£PC¼Ä´æÆ÷Àï×ÜÊDZ£´æÏÂÒ»Ìõ½«±»Ö´ÐеÄÖ¸ÁîµÄ“µØÖ·”¡£
6. ±¾µØ·½·¨Õ»£º±£´æµ÷Óñ¾µØ·½·¨Ïà¹ØµÄÊý¾Ý¡£ÕâÀï»ù±¾ÊÇÒ»¸öȫеIJ»ÊÜÐéÄâ»úÏÞÖƵÄÇøÓò¡£
7. Ö´ÐÐÒýÇ棺ִÐÐÒýÇæÊÇjavaÐéÄâ»úµÄºËÐÄ¡£ÆäÐÐΪÓÉһϵÁеÄÖ¸ÁÀ´¶¨Òå¡£


Ïà¹ØÎĵµ£º

JAVA¹æ·¶Ñ§Ï°——String×ÖÃæ³£Á¿

package testPackage;
class Test {
public static void main(String[] args) {
String hello = "Hello", lo = "lo";
System.out.print((hello == "Hello") + " ");
System.out.print((Other.hello == hello) + " ");
System.out.print((other.Other.hello == hello) + " ");
System.out.print((hello == ("Hel"+"lo ......

ËĸöÓÐÓõÄJava¹ýÂËÆ÷

Ò»¡¢Ê¹ä¯ÀÀÆ÷²»»º´æÒ³ÃæµÄ¹ýÂËÆ÷     
import javax.servlet.*;    
import javax.servlet.http.HttpServletResponse;    
import java.io.IOException;    
   
/**   
* ÓÃÓÚµÄʹ Browser ²» ......

°³¾­ÀúµÄJavaÃæÊÔÌâÄ¿

ÌâÄ¿¶¼ºÜ¼òµ¥,µ«ÓÐʱºòÈÃÄãÓñÊÍêÕûµÄд³öÀ´È´²»ÄÇôÈÝÒ×ÁË.
1.±éÀúÎļþ¼Ð(±»Õâ¸öÌâÄ¿¿¼ÁËÁ½´Î)
import java.io.File;
public class ListFile {
public static void main(String[] args) {
// TODO Auto-generated method stub
String path = "C:/Inetpub";
File f = new File(path);
list(f);
}
publ ......

javaÎļþ±ÈÀýËõС·Å´ó

1Ê×ÏÈÌí¼ÓÐÞ¸ÄͼƬ¿í¶ÈºÍ¸ß¶ÈµÄ·½·¨
public static void reduceImg(String imgsrc, int widthdist, int heightdist) {
  try {
   File srcfile = new File(imgsrc);
   if (!srcfile.exists()) {
    return;
   }
    ......

Java:¼¯ºÏÀàÐÔÄÜ·ÖÎö¡¾×ª¡¿

1.Java ¼¯ºÏ¿ò¼Üͼ
¡¡¡¡-¼¯ºÏ½Ó¿Ú£º6¸ö½Ó¿Ú£¨¶ÌÐéÏß±íʾ£©£¬±íʾ²»Í¬¼¯ºÏÀàÐÍ£¬ÊǼ¯ºÏ¿ò¼ÜµÄ»ù´¡¡£
¡¡¡¡-³éÏóÀࣺ5¸ö³éÏóÀࣨ³¤ÐéÏß±íʾ£©£¬¶Ô¼¯ºÏ½Ó¿ÚµÄ²¿·ÖʵÏÖ¡£¿ÉÀ©Õ¹Îª×Ô¶¨Ò弯ºÏÀà¡£
¡¡¡¡-ʵÏÖÀࣺ8¸öʵÏÖÀࣨʵÏß±íʾ£©£¬¶Ô½Ó¿ÚµÄ¾ßÌåʵÏÖ¡£
¡¡¡¡2.JavaÈÝÆ÷Àà½éÉÜ
¡¡¡¡¢Ù JavaÈÝÆ÷À඼¿ÉÒÔ×Ô¶¯µØµ÷Õû×Ô¼ºµÄ³ß´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ