JAVAѧϰ±Ê¼ÇµÚÒ»½²091031
Êý¾ÝÀàÐÍ£º
(4Àà8ÖÖ)
Âß¼ÐÍ£boolean
×Ö·ûÐÍ£ char
ÊýÖµÐÍ£º
ÕûÊýÐÍ£ byte, short, int, long
¸¡µãÊýÐÍ£ float, double
·Java ÓïÑÔÖл¹ÔÊÐíʹÓÃתÒå×Ö·û ‘\’ À´½«ÆäºóµÄ×Ö·ûת±äΪÆäËüµÄº¬Òå.‘\n’´ú±í»»Ðзû
·JavaÕûÐͳ£Á¿Ä¬ÈÏΪintÐÍ£¬ÉùÃ÷longÐͳ£Á¿¿ÉÒÔºó¼Ó‘ l ’»ò‘ L ’ £¬È磺int i1 = 600; //ÕýÈ· long l1 = 8888888888L; //±ØÐë¼ÓL·ñÔò»á³ö´í
·Java ¸¡µãÐͳ£Á¿Ä¬ÈÏΪ double ÐÍ£¬ÈçÒªÉùÃ÷Ò»¸ö³£Á¿Îª float ÐÍ£¬ÔòÐèÔÚÊý×ÖºóÃæ¼Ó f »ò F £¬È磺double d = 12345.6; //ÕýÈ· float f = 12.3f; //±ØÐë¼Óf·ñÔò»á³ö´í
----------------------------------------------------------------------------------------------------------------------------------------------
ÔËËã·û£º
Âß¼ÔËËã·û£º !(·Ç)£¬ &&(¶Ì·Óë)£¬||(¶Ì·»ò)£¬^ (Òì»ò£¬Á½Õß²»Í¬·µ»ØÕæ)£¬& , |
ËãÊõÔËËã·û£º +£¬-£¬*£¬/£¬%(È¡Óà)£¬++£¬--
·×Ô¼Ó×Ô¼õ£¨++£¬--£©ÔÚǰʱÏÈÔËËãÔÙÈ¡Öµ,ÔÚºóʱÏÈÈ¡ÖµÔÙÔËËã¡£
eg:
int i1 = 10, i2 = 20;
int i = i2++; //iÏȵÈÓÚi2(20),È»ºói2×Ô¼Ó
System.out.print("i=" + i);//20
System.out.println(" i2=" + i2);//21
i = ++i2;
System.out.print("i=" + i);//22
System.out.println(" i2=" + i2);//22
i = --i1;
System.out.print("i=" + i);//9
System.out.println(" i1=" + i1);//9
i = i1--;
System.out.print("i=" + i);//9
System.out.println(" i1=" + i1);//8
-------------------------------------
Ïà¹ØÎĵµ£º
/*****************Animal.java begin ***********************/
public class Animal{
public void jj(){
}
public static void main(String args[]){
//±àÒëʱÀàÐÍ //ÔËÐÐʱÀàÐÍ
Animal anima ......
ÕâÀïµÄ˵µÄjava¿ª·¢»·¾³£¬ÒԴeclipse3.2.1ΪÖ÷Ìâ.
¡¡¡¡1¡¢°²×°ºÃUbuntuϵͳ;°²×°µÄʱºòÇ¿ÁÒ½¨ÒéÁ¬½ÓÉÏÍø£¬Ëü»á×Ô¶¯ÏÂÔØÓïÑÔ°ü£¬×Ô¶¯×°ÉÏÎå±Ê£¬Æ´Òô£¬»¹ÓлáĬÈÏ°Ñfirefoxä¯ÀÀÆ÷ÉèÖÃΪÖÐÎÄ.
¡¡¡¡°²×°Ubuntu±Èwindowsϵͳһ¸ö±È½ÏˬµØ·½¾ÍÊÇ°²×°¿ÉÒÔÒ»±ßÉÏÍøä¯ÀÀ,»¹¿ÉÒÔÊÔÓÃÒ»ÏÂUbuntuµÄ¹¦ÄÜ¡£
¡¡¡¡2¡¢ÅäÖÃUbuntu»·¾³£º ......
Ò»°ã½ø¶ÈÌõʹÓÃÊǸøÓû§Ò»ÖÖÓѺÃÌáʾ£¬ÈÃÓû§¸Ð¾õÕâ¸öÊÂÇéÕýÔÚ×ö£¬¶ø²»ÊÇϵͳûÓз´Ó¦ÁË£»
JProgressBarµÄ´úÂëÎĵµ´ó¼Ò¿ÉÒԲο¼JDK1.6£¬±ÈÈç¹¹Ô캯ÊýÓÐÄÄЩ£¬³£Óõķ½·¨ÓÐÄÄЩÔڴ˾Ͳ»¶àÐðÊö£»
Ò»°ãʹÓÃÇé¿öÊÇ£¬µã»÷°´Å¥ÊÇ×öÒ»¼þÊÂÇ飬±ÈÈ籸·Ý£¬½ø¶ÈÌõ³öÏÖ²¢Ôö¼Ó½ø¶È±íʾÕýÔÚ½øÐлòµ½Ê²Ã´³Ì¶È£¬ÊÂÇé½áÊøʱ£¬½ø¶ÈÌõÏÔʾÂú ......
Ê×ÏÈÁ˽âÏÂËùνµÄjava nioÊǸöʲô¶«Î÷£¡
IOÊÇ¿¿×Ö·û»ò×Ö½Ú½øÐд«Ê䣬±È½ÏÂý£¡ ¶øNIOÊÇ¿¿¿é£¬ Ò²¾ÍÏ൱ÓÚÒ»¸öBuffer£¬ Ò»¿éÒ»¿é
µÄ´«Ê䣬 ËٶȽϿì
£¡ ͬʱ¼ÓÈëÁ˶àÏß³Ì
µÄ¿ØÖÆ£¬ Ò»¸öNIOÁ÷¿ÉÒÔͬʱ´«Êä¶à¸ö¿éµÈ£¬ Ò²¾ÍÊÇËùνµÄÒì²½´«Êä
£»
´«Í³
µÄ²¢·¢ÐÍ
·þÎñÆ÷Éè¼ÆÊÇÀûÓÃ×èÈûÐÍÍøÂçI/O
ÒÔ¶àÏ̵߳ÄÄ ......
Óà Java ½âÃÜ C# ¼ÓÃܵÄÊý¾Ý(DES)
[ÔÎĵØÖ·£ºhttp://yidinghe.cnblogs.com/articles/449212.html]
½ñÌìÅöÉÏÒ»¼þÁîÎÒÍ·´óµÄÊÂÇé¡£ÎÒÃǵÄϵͳҪºÍÒ»¸öÍⲿϵͳ½øÐÐͨѶ£¬´«Ê䷽ʽÊDzÉÓà DES Ëã·¨¶ÔÏûÏ¢½øÐмÓÃÜ£¬ÔÙÓà BASE64 ±àÂë¡£²»¹ý¶Ô·½ÏµÍ³ÊÇÓà C# дµÄ¡£Æ½Ì¨²»Ò»Ñù£¬ÓÚÊÇÎҺͶÔÃæµÄÀÏÐÖÏȲâÊÔһϼÓÃܽâÃÜ¡£ ......