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

¶ÔÓÚJAVA°üÔÚwindows xpÏÂCMD.exeÔËÐÐ

 Õâ¸öÎÊÌâ½ñÌìÖÕÓÚ¿´Ò»¸ö¸çÃǶùµÄÎÄÕ¸㶨ÁË£¬ÔÚ´Ëлл£¡ËùÒÔתÔØÒ»ÏÂ
=============================================================

java-package°üµÄʹÓ÷½·¨
¡¡¡¡
µ±Ò»¸ö´óÐͳÌÐò½»ÓÉÊý¸ö²»Í¬µÄ³ÌÐòÈËÔ±¿ª·¢Ê±£¬Óõ½ÏàͬµÄÀàÃûÊǺÜÓпÉÄܵģ¬ÄÇôÈç¹û·¢ÉúÁËÕâÑùµÄʼþÎÒÃǸÃÔõô°ìÄÇ£¿£¬ÔÚÎÒÃÇjava³ÌÐò¿ª·¢ÖÐΪÁ˱ÜÃâÉÏÊöʼþ£¬ÌṩÁËÒ»¸ö°üµÄ¸ÅÄpackage£©£¬ÄÇô¼ÈÈ»ÓÐÁËÕâÑùÒ»ÖÖ·½·¨ÄܱÜÃâÉÏÊöʼþ£¬ÄÇôÎÒÃÇÔõÑùʹÓÃpackageÄÇ£¿£¬Ê¹Ó÷½·¨ºÜ¼òµ¥ÎÒÃÇÖ»ÐèÒªÔÚÎÒÃÇдµÄ³ÌÐòµÚÒ»ÐÐʹÓÃpackage¹Ø¼ü×ÖÀ´ÉùÃ÷Ò»¸ö°ü¾ÍÐÐÁË£¬ÀýÈçÎÒÃÇÀ´ÉùÃ÷Ò»¸öÃûΪpack1µÄ°üÃû£¬package pack1;ºÃÁËÏÂÃæÎÒÃǾÍÀûÓ÷¶ÀýÀ´ËµÃ÷packageµÄʹÓ÷½·¨£¬¼°Æä±àÒëÔËÐеķ½·¨£¬
¡¡¼ÙÉèÎÒÃÇÔÚdÅÌϵÄн¨Ò»¸öÎļþ£¨pack1£©£¬ÔÚpack1ÎļþÄÚ°üº¬Á½¸öjava³ÌÐòÒ»¸öÊÇShowmethod.javaºÍTestshow.java£»
Showmethod.java
package pack1;//ÔÚÕâÀï°ÑShowmethodÀàÄÉÈëµ½pack1°üÄÚ
class Showmethod{
 public void show(){
  System.out.println("I'm a show method() of Showmethod class");
 }
}
Testshow.java£»
  package pack1;//ÔÚÕâÀï°ÑTestshowÀàÒ²ÄÉÈëµ½pack1°üÄÚ
public class Testshow{
 public static void main(String args[]){
  Showmethod sm=new Showmethod();
  sm.show();
 }
}
ÏÂÃæÎÒÃǾÍÏÈÀ´¿´Ò»ÏÂÈçºÎ±àÒëÕâÁ½¸öλÓÚͬһ¸ö°üÄÚµÄjava³ÌÐò£¬
1:javac pack1\Showmethod.java
2:javac pack1\Testshow.java
Õâ¾ÍÊDZàÒëµÄ·½·¨¡¡ pack1ÊÇ°üÃû£¬°üÃûºóÃæ¸úµÄ¾ÍÊÇÎÒÃÇÒª±àÒëµÄÄǸöÀàÃû£¬±àÒëºÃºópack1Ŀ¼Ï»ØÉù³ÉÁ½¸öclassÎļþ£¬
ÔËÐз½·¨£º
java pack1.Testshow
×¢ÒâÔËÐÐʱҪָ³ö°üÃû£¬°üÃûºóÓÐÒ»¸öµã£¢£®£¢È»ºóÊÇÀàÃû£¬
 
2:ÏÂÃæÎÒÃÇÀ´¿´Ò»ÏÂÈçºÎ·ÃÎʲ»ÔÚͬһ¸ö°üÄÚµÄÀ࣬
ÔÚ£ÄÅÌ·Ö±ð½¨Á¢pack1,pack2Á½¸öÎļþ£¬
½¨Á¢ºÃÖ®ºó½«Showmethod.java·Åµ½pack1°üÄÚ£¬
¡¡¡¡Showmethod.javaµÄ´úÂëÈçÏ£º
package pack1;
public class Showmethod{
 public void show(){
  System.out.println("I'm a show method() of Showmethod class");
 }
}
¡¡¡¡½«Testshow.java·Åµ½pack2°üÄÚ
Testshow.javaµÄ´úÂëÈçÏ£º
package pack2;
public class Testshow{
 public static void main(String args[]){
  pack1.Showmethod sm=new p


Ïà¹ØÎĵµ£º

JVMÄÚ´æ¶Î·ÖÅ䣬JavaÀ¬»ø»ØÊÕµ÷ÓÅ£¬HeapÉ趨

 http://hi.baidu.com/kingtckingtc/blog/item/ca5606f4decd5767ddc4740b.html
JVMÄÚ´æ¶Î·ÖÅ䣬JavaÀ¬»ø»ØÊÕµ÷ÓÅ£¬HeapÉ趨
2009Äê09ÔÂ08ÈÕ ÐÇÆÚ¶þ 14:57
1. JVMÄÚ´æ¶Î·ÖÅä¼°Æô¶¯²ÎÊý£º
J2EE·þÎñÆ÷µÄÄÚ´æ×é³É£º
? Java¶Ñ£ºÎÒÃǵijÌÐòºÍ¶ÔÏó¶¼ÔÚÕâ¸ö¶Ñ½øÐйÜÀí
? C¶Ñ£ºµ±ÒýÓõ½Ò»Ð©NativeµÄ¶ÔÏó£¬ÈçÍøÂç·ÃÎÊ¡¢OCI ......

javaÁ·Ï°³ÌÐò1

 /*import javax.swing.JFrame;*/
/*import javax.swing.JOptionPane;*/
public class TestFrame{
public static void main(String[] args) throws Exception{
/*JFrame frame1 = new JFrame();
frame1.setTitle("Windows 1");
frame1.setSize(200,150);
frame1.setLocation(200,100);
frame1.setD ......

Java

ÁªÍ¨£º³¹µ×·ÅÆúORÓûÇܹÊ×Ý£¿
 
ÒµÄÚÈÕÇ°´«³öÏûÏ¢£¬ÓÉÓÚÆ»¹û¼á³Ö·Ö³Éģʽ£¬ÁªÍ¨¸ß²ã¶ÔÓÚÒýÈëÆ»¹û̬¶ÈÒÑÎÞÔçÏȼá¾ö¡£“Ëæ×ÅÊÖ»úµÄ²»¶Ï¸üл»´ú£¬Ò»µãÓпÉÄÜ°üº¬µÄ¹¦ÄÜÌرðÊÇÁªÍ¨¼ÓÈë¹È¸è¿ª·ÅÊÖ»úÁªÃË£¬ÔÚÊý¾Ý±£»¤ºÍ¼á¹ÌЭ×÷¼Æ»®ÍÆ×ÔÓпª·Å²Ù×÷ƽ̨ÊÖ»ú£¬ÔÚÊý¾Ý±£»¤ºÍ¼á¹ÌЭ×÷ javaµç×ÓÊéÃâ·ÑÏÂÔØiPhoneÔÚÆäÕ½ÂÔÖ ......

java ÀàµÄÒýÓÃ

 JAVA ÀàÒýÓÃÓг£Óõ½µÄÓÐÈýÖУº
µÚÒ»ÖÖ :super ÊǸ¸ÀàÒýÓã¬Í¨¹ýËü¿ÉÒÔ·ÃÎʸ¸ÀàµÄÊôÐԺͷ½·¨¡£
µÚ¶þÖÖ £ºthisÊǵ±Ç°ÀàµÄÒýÓá£Í¨¹ýËû¿ÉÒÔ·ÃÎʵ±Ç°ÀàµÄ·½·¨ºÍÊôÐÔ¡£
µÚÈýÖÖ£º×ÓÀàµÄÒýÓã¬ÎÒ³£Óø¸ÀàµÄ¶ÔÏóÈ¥·ÃÎÊ×ÓÀàµÄ¶ÔÏóÀ´ÊµÏÖ¶à̬¡£ÀýÈ磺ˮ¹ûÀà Ë®¹û=new Æ»¹ûÀࣨ£©£»
ÕâÑùÎÒÃÇ¿ÉÒÔͨ¹ý Ë®¹ûÕâ¸ö¶ÔÏóÈ¥·ÃÆ»¹ûÀ ......

Oracle·ÖÒ³´æ´¢¹ý³Ì¼°javaµÄ¾ßÌåµ÷Ó÷½·¨

--°ü
create or replace package pkg_query as
  type cur_query is ref cursor;
end pkg_query;
--¹ý³Ì
CREATE OR REPLACE  PROCEDURE "PRC_QUERY" (p_tableName  
        in  varchar2,   --±íÃû
      & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ