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

JavaÖÐGraphicsÓ÷¨


import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
 
import javax.swing.JFrame;
import javax.swing.JPanel;
 
public class MyFrame extends JFrame {
 
         /**
          *
          */
         private
static final long serialVersionUID = 1L;
 
         class
MyPanel extends JPanel {
 
                   /**
                    *
                    */
                   private
static final long serialVersionUID = 1L;
 
                   public
void paint(Graphics graphics) {
                            super.paint(graphics);
                            Graphics
g2d = (Graphics2D) graphics;
                            g2d.setColor(Color.black);
                            g2d.draw3DRect(


Ïà¹ØÎĵµ£º

java ÖÐ set map table list µÄ×ܽá

1.Collection List Set Map Çø±ð¼ÇÒä
ÕâЩ¶¼´ú±íÁËJavaÖеļ¯ºÏ£¬ÕâÀïÖ÷Òª´ÓÆäÔªËØÊÇ·ñÓÐÐò£¬ÊÇ·ñ¿ÉÖØ¸´À´½øÐÐÇø±ð¼ÇÒ䣬ÒÔ±ãÇ¡µ±µØÊ¹Ó㬵±È»»¹´æÔÚͬ²½·½ÃæµÄ²îÒ죬¼ûÉÏһƪÏà¹ØÎÄÕ¡£
 
ÓÐÐò·ñ
ÔÊÐíÔªËØÖØ¸´·ñ
Collection
·ñ
ÊÇ
List
ÊÇ
ÊÇ
Set
AbstractSet
·ñ
·ñ
HashSet
TreeSet
ÊÇ£¨Óöþ²æÊ÷Å ......

javaɾ³ýÎļþ»òÎļþ¼ÐµÄ·½·¨

javaÀïÃæÉ¾³ýÎļþ¼Ðʱºò£¬Èç¹û¸ÃÎļþ¼ÐÏÂÓÐÄÚÈÝ£¬¼´Æäϰüº¬µÄÓÐÎļþ»òÎļþ¼Ð£¬µ±ÄãÖ´ÐÐ
java.io.File.delete(File file)·½·¨Ê±ºò£¬²»Äܳɹ¦É¾³ý£¬ÄÇôÈç¹ûÎÒÃÇÏë³É¹¦É¾³ý£¬¸ÃÔõô°ìµÄ£¬ÄǾÍÒªÏÈɾ³ý¸ÃÎļþ¼ÐÏÂÃæµÄÄÚÈÝ£¬´úÂëÈçÏ£º
/**
* ɾ³ýÎļþ»òÎļþ¼Ð
* @param file
*/
public static void deleteFile ......

JAVA ¿ª·¢ÄÚ´æÒç³ö

GCÊÇÀ¬»øÊÕ¼¯µÄÒâ˼£¨Garbage Collection£©,ÄÚ´æ´¦ÀíÊDZà³ÌÈËÔ±ÈÝÒ׳öÏÖÎÊÌâµÄµØ·½£¬Íü¼Ç»òÕß´íÎóµÄÄÚ´æ»ØÊջᵼÖ³ÌÐò»òϵͳµÄ²»Îȶ¨ÉõÖÁ±ÀÀ££¬JavaÌṩµÄGC¹¦ÄÜ¿ÉÒÔ×Ô¶¯¼à²â¶ÔÏóÊÇ·ñ³¬¹ý×÷ÓÃÓò´Ó¶ø´ïµ½×Ô¶¯»ØÊÕÄÚ´æµÄÄ¿µÄ£¬JavaÓïÑÔûÓÐÌṩÊÍ·ÅÒÑ·ÖÅäÄÚ´æµÄÏÔʾ²Ù×÷·½·¨¡£
Ò»¡¢ÄÚ´æÒç³öÀàÐÍ
1¡¢java.lang.OutOfMemoryE ......

JavaÖ®Servlet¿ª·¢

±¾ÎİüÀ¨:
A: servletÔ´ÂëʵÀý
B: servlet²¿Êð
C: ¿Í»§¶ËÔ¶³Ìµ÷ÓÃ
D: servlet¿ª·¢µ÷Óù¤¾ß
A: servletÔ´ÂëʵÀý
package com.viewlinecn.userlogin.www.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ