³õѧJAVAÖ®¶þ
1¡¢ ´®²Ù×÷£ºÊ¹ÓÃ×Ö·û´®´æÖüÒ»¸öÓ¢Îľä×Ó“Java is an object oriented programming
language”¡£ÏÔʾ¸Ã¾ä×Ó£¬²¢Ëã³öÿ¸öµ¥´ÊµÄ×ÖĸÊýºÍƽ¾ù×ÖĸÊý£¬²¢°´µ¥´ÊÉýÐòÅÅÁÐÊä³ö£¨²»ÓÃÊý×飬ֻÓô®²Ù×÷£©
public class homework21 {
public static void main(String[] args) {
String java = "Java is an object oriented programming language.";
float sum1= java.length(); //×Ö·û´®³¤¶È48
System.out.println(java); //Êä³ö×Ö·û´®
StringBuffer copyToMe = new StringBuffer();//¶¨Ò建³åÇø
int i = 0;
int number=0;
int length=0;
float sum=0;
char c = java.charAt(i);
//·µ»Ø×Ö·û´®¶ÔÏóÖеÚi¸öλÖõÄ×Ö·û
while(i<sum1)
{
if (c != ' ')
{
if(c=='.')//×îºóÒ»¸öµ¥´ÊµÄÅжÏ
{
Ïà¹ØÎĵµ£º
±¾ÔÂ3ÈÕSunµÄJ2SE 5.0ʵÏÖÒÑÖÕ½á·þÎñÖÜÆÚ£¨End of Service Life£¬¼´EOSL£©£¬ÕâÒ»ÌìÒ²ÊÇ×îºóµÄÒ»´Î5.0¸üз¢²¼ÈÕÆÚ£¨J2SE 5.0 Update 22£©¡£Ñ°ÇóSunÖ§³ÖµÄÓû§¿ÉÒÔÑ¡ÔñÉý¼¶µ½Java 6»òÊǶ©ÔÄSunµÄJava for Business³ÌÐò¡£
SunÌṩÁ˶àÖÖ¶àÑùµÄJava¸¶·ÑÖ§³Ö¡£Java¾µäÖ§³Ö£¨classic support£©º¸ÇÁË´Ó²úÆ··¢²¼Ö®ÈÕÆð3Äê ......
Producer-Consumer PatternµÄ²ÎÓëÕߣº
1. Data²ÎÓëÕß
±»Producer²ÎÓëÕßËù´´½¨£¬²¢ÓÉConsumer²ÎÓëÕßËùʹÓá£
2. Producer£¨Éú²úÕߣ©²ÎÓëÕß
´´½¨Data²ÎÓëÕߣ¬²¢½«Æä´«µÝ¸øChannel²ÎÓëÕß¡£
3. Consumer£¨Ïû·ÑÕߣ©²ÎÓëÕß
´ÓChannel²ÎÓëÕß»ñÈ¡Data²ÎÓëÕß¡ ......
JSPµÄ9¸öÄÚÖöÔÏóÊÇ£ºout¡¢request¡¢response¡¢page¡¢pageContext¡¢session¡¢application¡¢exception¡¢config¡£Òª×¢Òâ¶ÔÏóÃûµÄ´óСд
What results from attempting to compile and run the following code? public class Ternary{ public static void main(String args[]){ int a = 5; System.out.printl ......
×°ÁËwin7ÒÔºóÖØÐÂÅäÖÃÁËjavaµÄ»·¾³±äÁ¿¡£
Ê×ÏÈ£¬JDKºÍJREµÄÇø±ð£ºjdk£¨java development toolkit£© jre£¨java run environment£©£¬Ç°Õß¾ÍÏñÊǸöjavaµÄ±àÒëÆ÷£¬ºóÕßÌṩһ¸öÔËÐл·¾³£¬javaÐéÄâ»ú°É¡£Ò»°ãÖ»ÓÃ×°jdk¾ÍÐÐÁË£¬ÀïÃæ×Ô¶¯»áÓиöjre¡£
ÎҵĹý³Ì£º
1. ÏȽâѹEclipse£¬ÔËÐÐÐèÒªÐéÄâ»ú
2. °²×°jre6£¬²»ÓÃÈκΠ......
JavaÊý¾Ý¿âÁ¬½Ó£¨JDBC£©ÓÉÒ»×éÓà Java ±à³ÌÓïÑÔ±àдµÄÀàºÍ½Ó¿Ú×é³É¡£JDBC Ϊ¹¤¾ß/Êý¾Ý¿â¿ª·¢ÈËÔ±ÌṩÁËÒ»¸ö±ê×¼µÄ API£¬Ê¹ËûÃÇÄܹ»Óô¿Java API À´±àдÊý¾Ý¿âÓ¦ÓóÌÐò¡£È»¶ø¸÷¸ö¿ª·¢É̵Ľӿڲ¢²»ÍêÈ«Ïàͬ£¬ËùÒÔ¿ª·¢»·¾³µÄ±ä»¯»á´øÀ´Ò»¶¨µÄÅäÖñ仯¡£±¾ÎÄÖ÷Òª¼¯ºÏÁ˲»Í¬Êý¾Ý¿âµÄÁ¬½Ó·½Ê½¡£
¡¡¡¡Ò»¡¢Á¬½Ó¸÷ÖÖÊý¾Ý¿ ......