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

[¾­µä]ÊÇjava¸ßÊ־ͽøÀ´£¬¿´Ò»ÏÂÄãµÄˮƽ£¬1.5%ÕýÈ·ÂÊ

ÕâµÀÌâÊÇÒ»¸öjava¹«Ë¾µÄ±ÊÊÔÌ⣬¿¼²ìÁË´ó¸Åһǧ¶à¸öÃæÊÔµÄjava¹¤³ÌʦÒÔ¼°ÏîÄ¿¾­Àí£¬²»¹ýÈ«¶ÔµÄÖ»Óв»µ½1.5%
 
ÔÚ×öÕâ¸öÌâµÄʱºòÇ밴˳Ðò×ö£¬²»Äܸıä˳Ðò£¬×öÇ°ÃæÌâʱ£¬²»Äܲ鿴ºóÃæµÄÌ⣬ͬÉÏÒ²²»Òª²é¿´ÏÂÃæµÄ»Ø¸´,²»Òª¸Ä±äÄãµÄ´ð°¸
 
¶àµÄÏȲ»Ëµ£¬Çë°ÑÏÂÃæµÄÌâ´ð°¸¸ø³ö
 
class Human{
static int n=10;
public Human(){
age();
}
public void age(){
}
 
}
public class HumanAction extends Human{
private int n=20;
public void age(){
System.out.println("ÄêÁäÊÇ£º"+n);
}
public static void main(String[] args){
new HumanAction();
 
}
}
Êä³öʲô£¿
-------------------------------------------------------
 
 
 
class Human{
public int n=10;
public Human(){
age();
}
public void age(){
}
 
}
public class HumanAction extends Human{
private int n=20;
public void age(){
System.out.println("ÄêÁäÊÇ£º"+n);
}
public static void main(String[] args){
new HumanAction();
 
}
}
 
Êä³öʲô£¿
-------------------------------------------------------
 
 
 
class Human{
public static int n=10;
public Human(){
age();
}
public void age(){
}
 
}
public class HumanAction extends Human{
private static int n=20;
public void age(){
System.out.println("ÄêÁäÊÇ£º"+n);
}
public static void main(String[] args){
new HumanAction();
 
}
}
Êä³öʲô£¿
-------------------------------------------------------
 
 
ÕâÊÇÒ»¸öºÜ»ù´¡µÄjava¼Ì³Ð¹ØϵÓë³õʼ»¯µÄÌ⣬д³öÄãµÄ´ð°¸°É£¬¿´¿´ÄãµÄˮƽ


Ïà¹ØÎĵµ£º

Java¹ýÂËÆ÷ÑéÖ¤µÇ¼Óû§

1.Ê×ÏÈдһ¸öȨÏÞ¹ýÂËfilterÀà,ʵÏÖFilter½Ó¿Ú
/*Ê×ÏÈдһ¸öȨÏÞ¹ýÂËfilter*/
import javax.servlet.Filter;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.FilterChain;
import ......

Java Read()×èÈûµÄÒ»ÖÖ´¦Àí·½Ê½

java.io.InputStreamµÄread()·½·¨ÃèÊö£º
        If no byte is available because the end of the stream has been reached, the value -1 is returned.
        µ½´ïÁ÷µÄĩβÕæ»á·Å»Ø-1Âð£¿
        ......

×Ô¶¯Éú³ÉJavaʵÌåÀà

JDBC¶ÁÈ¡Êý¾Ý¿âÔªÊý¾Ý,Éú³ÉJAVAʵÌåÀà
package com.nffish.util;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import com.nffish.c ......

Java Server Pages±í´ïʽÓïÑÔ

¶ÔÓÚ½«ÒªÊ¹ÓõÄJSP¹æ·¶µÄÒ»¸öÌص㣬¾ÍÊÇJSP±í´ïʽÓïÑÔ¡£Ôںܴó³Ì¶ÈÉÏ£¬ËüÊÇÓÐÒâ¼ò»¯µÄ£¬²¢¶ÀÁ¢ÓÚJSP¡£
ÔÚJSPµÄÔçÆÚ°æ±¾ÖУ¬Java´úÂëÒԽű¾µÄÐÎʽǶÈëµ½JSPÒ³ÃæÖУ¬ÀýÈ磺
<%
MyBean bean = new MyBean();
String name = bean.getName();
out.println(name);
%>
Õâ¸ö½Å±¾´úÂëн¨ÁËÒ»¸öÃûΪMyBeanµÄʵÀý£¬»ñµÃË ......

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ

Java/JSPÖÐÎÄÂÒÂëÎÊÌâ½â¾öÐĵÃ
×Ô´Ó½Ó´¥JavaºÍJSPÒÔÀ´£¬¾Í²»¶ÏÓëJavaµÄÖÐÎÄÂÒÂëÎÊÌâ´ò½»µÀ£¬ÏÖÔÚÖÕÓڵõ½Á˳¹µ×µÄ½â¾ö£¬ÏÖ½«ÎÒÃǵĽâ¾öÐĵÃÓë´ó¼Ò¹²Ïí¡£
Ò»¡¢JavaÖÐÎÄÎÊÌâµÄÓÉÀ´
JavaµÄÄں˺ÍclassÎļþÊÇ»ùÓÚunicodeµÄ£¬ÕâʹJava³ÌÐò¾ßÓÐÁ¼ºÃµÄ¿çƽ̨ÐÔ£¬µ«Ò²´øÀ´ÁËһЩÖÐÎÄÂÒÂëÎÊÌâµÄÂé·³¡£Ô­ÒòÖ÷ÒªÓÐÁ½·½Ã棬JavaºÍJS ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ