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

javaµÄ»ù±¾Êý¾ÝÀàÐÍÊÇÎÞ·ûºÅµÄ

ÕæÊDzÑÀ¢°¡, ѧÁËÔõô¾Ã java, ÏÖÔÚ²ÅÖªµÀ java µÄ»ù±¾Êý¾ÝÀàÐÍÊDz»´æÔÚÓзûºÅºÍÎÞ·ûºÅÕâÖÖ¶«Î÷µÄ. ƽʱ¶¼Ã»Óиã×Ö½ÚºÍλ֮ÀàµÄÔËËã, ËùÒÔµ¹ÊÇûÓÐ×¢Òâµ½Õâ¸ö·½ÃæÄØ.
JAVAÖеĻù±¾Êý¾ÝÀàÐͲ»´æÔÚÎÞ·ûºÅµÄ£¬ËüÃǵÄÈ¡Öµ·¶Î§Êǹ̶¨µÄ£¬²»»áËæ×Å»úÆ÷Ó²¼þ»·¾³»òÕß²Ù×÷ϵͳµÄ¸Ä±ä¶ø¸Ä±ä¡£(Õâ¾ä³­µÄ)
Java¼òµ¥Êý¾ÝÀàÐÍ  
   
  ¼òµ¥ÀàÐÍ   ´óС   ·¶Î§/¾«¶È    
   
  float   4   ×Ö½Ú   32λIEEE   754µ¥¾«¶È    
   
  double   8   ×Ö½Ú   64λIEEE   754Ë«¾«¶È    
   
  byte   1×Ö½Ú   -128µ½127    
   
  short   2   ×Ö½Ú   -32,768µ½32,767    
   
  int   4   ×Ö½Ú   -2,147,483,648µ½2,147,483,647    
   
  long   8   ×Ö½Ú   -9,223,372,036,854,775,808µ½9,223,372,036,   854,775,807    
   
  char   2   ×Ö½Ú   Õû¸öUnicode×Ö·û¼¯    
   
  boolean   1   λ   True»òÕßfalse
1×Ö½ÚÊǹ̶¨ÓÉ8λ¶þ½øÖƹ¹³É
-----------------------------------------------------------------¿É°®µÄ·Ö¸ôÏß-------------------------------------------------------------------
Ïñbyte ÊÇ·¶Î§ÊÇ -128µ½127, ÄãÏëÒª±äΪ 0µ½255 Ôõô°ì, ¸ú 0XFF ×ö ÓëÔËË㠾ͿÉÒÔÁË.
Èç byte bb , Èç¹ûÄãÏ븳ֵËüÖµ 255, ÄÇÊDz»ÐеÄ, ¾ÍË㸳ֵÁË, bb µÄÖµÒ²ÊÇ 255 ¶Ô 256 ÇóÄ£ºóµÄÖµ -1
Èç¹ûÄãÖ»ÊÇÏëÈ¡Ëû 0µ½255 µÄÖµ, »¹ÊǺܼòµ¥µÄ,
 bb & 0XFF  , Èç bb = -1,  ÄÇ bb & 0XFF ½á¹ûΪ 255,
Õâ¸öÓëÔËËãºóµÄ½á¹û»áÒþʽת»»Îªint ÀàÐ͵Ä, ÒòΪ byte ·Å²»ÏÂÁË.
ÓëÔËËã »¹ÊǺܿìµÄ, ±È ¼Ó¼õ·¨»¹¿ìµÄ.


Ïà¹ØÎĵµ£º

JAVAѧϰ֮·

Java³ÌÐòÔ±µ½¼Ü¹¹Ê¦µÄÍƼöÔĶÁÊé¼®ÊÕ²Ø
Ò»¡¢Java±à³ÌÈëÃÅÀà
¶ÔÓÚûÓÐJava±à³Ì¾­ÑéµÄ³ÌÐòÔ±ÒªÈëÃÅ£¬Ëæ±ã¶ÁʲôÈëÃÅÊé¼®¶¼Ò»Ñù£¬Õâ¸ö½×¶ÎÐèÒªÄã¿ìËÙµÄÕÆÎÕJava»ù´¡Óï·¨ºÍ»ù±¾Ó÷¨£¬×ÚÖ¼¾ÍÊÇ“àñàðÍÌÔæ²»ÇóÉõ½â”£¬ÏȶÔJavaÊìϤÆðÀ´ÔÙ˵¡£Óú̵ܶÄʱ¼ä¿ìËÙ¹ýÒ»±éJavaÓï·¨£¬Á¬ã´ø²Â¶àдд´úÂ룬Ҫ“ÖªÆäÈ»&r ......

javaʵÏÖÊý×éµÄËùÓÐ×éºÏ

ϸ½ÚÉÏÐèÒª¸Ä½ø¡£
import java.util.*;
public class Map {
Vector<int[]> v = new Vector<int[]>();
Vector<Integer> vv = new Vector<Integer>();
Map() {
int[] array = { 1, 2, 3, 4, 5 };
Scanner s = new Scanner(System.in);
int x = s.nextInt();
pro(array, 0, x);
for(int i=0 ......

JavaÖÐListЧÂʵıȽÏ

¡¡¡¡inkfishÔ­´´£¬ÇëÎðÉÌÒµÐÔÖÊתÔØ£¬×ªÔØÇë×¢Ã÷À´Ô´£¨http://blog.csdn.net/inkfish
£©¡£
¡¡¡¡Java Collections Framework(JCF)
ÊÇJava SEÖÐÒ»¸ö»ù±¾µÄÀ༯£¬¼¸ºõËùÓеÄÏîÄ¿¶¼»áÓõ½£¬ÆäÖеÄList
ÔòÊÇJCFÖÐ×î×î³£ÓõÄÒ»¸ö½Ó¿Ú¡£Î§ÈÆList
½Ó¿Ú£¬ÓкܶàʵÏÖ£¬ÖîÈç³£ÓõÄArrayList
¡¢LinkedList
¡¢Vector
¡¢Stack
£¬ ......

java IO³õ²½

ʲôÊÇÁ÷£º
Á÷ÊÇÒ»¸ö³éÏóµÄ¸ÅÄî¡£µ±Java³ÌÐòÐèÒª´ÓÊý¾ÝÔ´¶ÁÈ¡Êý¾Ýʱ£¬»á¿ªÆôÒ»¸öµ½Êý¾ÝÔ´µÄÁ÷¡£Êý¾ÝÔ´¿ÉÒÔÊÇÎļþ£¬ÄÚ´æ»òÕßÍøÂçµÈ¡£Í¬Ñù£¬µ±³ÌÐòÐèÒªÊä³öÊý¾Ýµ½Ä¿µÄµØʱҲһÑù»á¿ªÆôÒ»¸öÁ÷£¬Êý¾ÝÄ¿µÄµØÒ²¿ÉÒÔÊÇÎļþ¡¢ÄÚ´æ»òÕßÍøÂçµÈ¡£Á÷µÄ´´½¨ÊÇΪÁ˸ü·½±ãµØ´¦ÀíÊý¾ÝµÄÊäÈëÊä³ö¡£
Á÷·ÖΪ×Ö½ÚÁ÷ºÍ×Ö·ûÁ÷¡£×Ö½ÚÁ÷Ò²³ÆÎªÔ­Ê ......

java IO

JavaÓïÑÔµÄÊäÈëÊä³ö¹¦ÄÜÊÇÊ®·ÖÇ¿´ó¶øÁé»îµÄ£¬ÃÀÖв»×ãµÄÊÇ¿´ÉÏÈ¥ÊäÈëÊä³öµÄ´úÂë²¢²»ÊǺܼò½à£¬ÒòΪÄãÍùÍùÐèÒª°ü×°Ðí¶à²»Í¬µÄ¶ÔÏó¡£ÔÚJavaÀà¿âÖУ¬IO²¿·ÖµÄÄÚÈÝÊǺÜÅÓ´óµÄ£¬ÒòΪËüÉæ¼°µÄÁìÓòºÜ¹ã·º:±ê×¼ÊäÈëÊä³ö£¬ÎļþµÄ²Ù×÷£¬ÍøÂçÉϵÄÊý¾ÝÁ÷£¬×Ö·û´®Á÷£¬¶ÔÏóÁ÷£¬zipÎļþÁ÷....±¾ÎĵÄÄ¿µÄÊÇΪ´ó¼Ò×öÒ»¸ö¼òÒªµÄ½éÉÜ¡£
¡¡¡¡Á ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ