JavaλËãÊõÔËËã·û
1£©&£ºÓëÔËË㣬½«Á½¸öÊý·Ö±ðת»¯³É²¹Â룬Ȼºó½øÐÐÔËË㣨ȫ1µÃ1£¬ÓÐ0³ö0£©¡£
2£©£¡£º·ÇÔËË㣬½«Êý×Ö×ÔÉíÈ¡·´£¨×ª»¯³É²¹Â룬°´Î»È¡·´——1±ä0£¬0±ä1£©¡£
3£©<<£º×óÒÆÔËËã·û£¬½«Ä³¸öÊ®½øÖÆת»»³É¶þ½øÖÆÖ®ºóĩβµÄn¸ö¶þ½øÖÆÊýÒÔ´ËÍù×óÒƶ¯£¬Òç³öµÄnλÓÃ0ÔÚĩβ²¹×ã¡£
4£©>>£º´ø·ûºÅÓÒÒÆÔËËã·û£º½«Ä³¸öÊ®½øÖÆת»»³É¶þ½øÖÆÖ®ºóĩβµÄn¸ö¶þ½øÖÆÊýÒÔ´ËÍùÓÒÒƶ¯£¬Òç³öµÄnλÔÚ×îÇ°ÃæÊÓÇé¿ö¶ø¶¨£º1²¹1£¬0²¹0£¬¹²²¹nλ¡£
5£©>>>£º²»´ø·ûºÅÓÒÒÆÔËËã·û£º½«Ä³¸öÊ®½øÖÆת»»³É¶þ½øÖÆÖ®ºóĩβµÄn¸ö¶þ½øÖÆÊýÒÔ´ËÍùÓÒÒƶ¯£¬Òç³öµÄnλÔÚ×îÇ°ÃæÒ»Âɲ¹n¸ö0¡£
int g = a >> 1;// ÓзûºÅÓÒÒÆ1룬×ó²àȱµÄλÒÔ·ûºÅλ²¹Æ룬ÕýÊý¾ÍÊÇ0£¬ "00000000000000000000000000001101" = 13
int f = b>> 1; // ÓзûºÅÓÒÒÆ1룬×ó²àȱµÄλÒÔ·ûºÅλ²¹Æ룬¸ºÊý¾ÍÊÇ1£¬ “11111111111111111111111111111111”= -1
Ïà¹ØÎĵµ£º
java exception ½â¾ö·½°¸ - ÎÒµÄÒì³£Íø|Òì³£|exception 791 - java.lang.NoSuchMethodError 792 - RuntimeException 793 - org.hibernate.exception.SQLGrammarException 794 - Internal Error 795 - ×Ô¶¨ÒåÒì³£ 796 - org.dom4j.DocumentException 797 - java.net.SocketException 798 - Exception¶ÔÏó 799 - SQLE ......
ÔÚ½øÈëÎÒÃǽñÌìµÄ»°ÌâÇ°£¬ÏÈÀ´¿´¿´ÏÂÃæÕâ¶Î´úÂ룬ÄãÖªµÀËüµÄ½á¹ûÂð£¿
³ÌÐò´úÂë
public class StringTest1{
public static void main(String[] args) {
String str1 = "abc";
String str2 = "abc";
&nbs ......
¿Î³ÌÃèÊö£º
±¾¿Î³Ì´ÓJavaÓïÑÔ¿ªÊ¼£¬ÉîÈëdz³ö£¬ÑÐò½¥½ø£¬ÀíÂÛÓëʵ¼ùÏà½áºÏ£¬Ã¿¸ö֪ʶµã£¬Ã¿¸ö½×¶Î¶¼ÅäÓÐÓëʵ¼ÊÓ¦ÓýӽüµÄʵսÁ·Ï°£¬×îÖÕÄ¿±êΪϵͳÕÆÎÕÕû¸öJavaÌåϵ£¬Äܹ»ÊìÁ·Ê¹ÓÃ×îÁ÷ÐУ¬×îÈÈÃŵÄJava EEÏà¹Ø¼¼Êõ¼°Æ俪·¢¹¤¾ß¿ª·¢ÆóÒµ¼¶Ó¦Óá£
Ô¤±¸ÖªÊ¶£º
l ......
import java.util.Arrays;
/**
* ÇóÒ»¸öÊý×éµÄÈ«ÅÅÁÐËã·¨
* @author Administrator
*/
public class Pai {
public void pai(char[] array,int start,int end){
System.out.println(" -- ×éºÏ "+start+" µ½ "+end+" --");
if(start==end){
  ......
±¾ÎÄÑÝʾÁËÈçºÎͨ¹ý Java µ÷Óà Apache Ant ¹¹½¨Îļþ¡£Äú½«¼ì²é±ØÒªµÄ Java ´úÂë²¢Á˽âÈçºÎÔÚ WebSphere Application Developer ÖÐÔËÐд˴úÂë¡£
ÒýÑÔ
Apache
Ant ÊÇÒ»¸ö»ùÓÚ Java µÄ¿ª·ÅÔ´´úÂë¹¹½¨ÊµÓù¤¾ß¡£ÈËÃdz£°ÑËüÓë Make ½øÐбȽϣ¬Make
³¤ÆÚÒÔÀ´Ò»Ö±ÓÃÓÚ°ïÖú×Ô¶¯Íê³É¹¹½¨¹ý³Ì¡£¾¹ý²»Í¬°æ±¾µÄ¸Ä½ø£¬Ant Ò ......