javaÑ»·¼¼ÇÉ
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:ËÎÌå;
mso-font-kerning:1.0pt;}
h1
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
mso-outline-level:1;
font-size:24.0pt;
font-family:ËÎÌå;
mso-bidi-font-family:ËÎÌå;
font-weight:bold;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:ËÎÌå;
mso-bidi-font-family:ËÎÌå;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
java
Ñ»·¼¼ÇÉ
ÔÚJava
³ÌÐòÖпÉÄÜʹÓöà²ãÑ»·À´´¦Àí¸´ÔÓµÄÂß¼¡£µ«Èç¹ûÒª´Ó×îÄÚ²ãÑ»·Ìø³ö×îÍâ²ãÑ»·ÊDZȽÏÂé·³¡£ÏÂÃæµÄ´úÂëÊÇÒ»¸öÈý²ãÑ»·µÄÀý×Ó£º
String[]arr=newString[]{"a","b","c"};
¡¡¡¡for(Strings:arr)
¡¡¡¡{
¡¡¡¡for(Stringss:arr)
¡¡¡¡{
¡¡¡¡for(Stringsss:
Ïà¹ØÎĵµ£º
TomcatÊÇÒ»¸ö¿ª·ÅÔ´´úÂë¡¢ÔËÐÐservletºÍJSP WebÓ¦ÓÃÈí¼þµÄ»ùÓÚJavaµÄWebÓ¦ÓÃÈí¼þÈÝÆ÷¡£TomcatÓÉApache-Jakarta×ÓÏîĿ֧³Ö²¢ÓÉÀ´×Ô¿ª·ÅÐÔÔ´´úÂëJavaÉçÇøµÄÖ¾Ô¸Õß½øÐÐά»¤¡£Tomcat ServerÊǸù¾ÝservletºÍJSP¹æ·¶½øÐÐÖ´Ðеģ¬Òò´ËÎÒÃǾͿÉÒÔ˵Tomcat ServerҲʵÐÐÁËApache-Jakarta¹æ·¶ÇұȾø´ó¶àÊýÉÌÒµÓ¦ÓÃÈí¼þ·þÎñÆ÷ÒªºÃ¡£×öÎ ......
1.н¨ÁËÒ»¸öHelloWorldµÄJAVA Project 2.Ô´Îļþ·ÅÔÚSRCĿ¼Ï£¬µ«Êǽ«Í¼Æ¬Îļþ XX.GIF ·ÅÈë¸ÃĿ¼ÏÂÔÚÔ´ÎļþÖÐÈ´²»ÄÜʹÓÃÏà¶Ô·¾¶£¬Ö»Äܽ«Í¼Æ¬Îļþ·ÅÔÚHelloWorld Ŀ¼ÏÂÃæ²Å¿É£¡¿ÉÔÚÀàÖÐÀàËÆÊ¹Óà ImageIO.read(new File("XX.GIF")); ......
ÒÔǰֻ֪µÀjavaÄܵ÷ÓÃoracle´æ´¢¹ý³ÌºÍº¯Êý£¬µ«½ñÌìÎÒ·¢ÏÖÔÀ´oracleÒ²¿ÉÒÔµ÷ÓÃjava
²âÊÔ»·¾³oracle 10g
call dbms_java.set_output(5000);
--Ê×ÏÈÔÚoracleÖбàÒëjavaÎļþ ÒÔÏÂÊǸö¼òµ¥µÄ
create or replace and compile java source named helloworld as
public class hellowor ......
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......