`
文章列表
1.字节和unicode     java内核是unicode的,就连class文件也是,但是很多媒体,包括文件/流的保存方式是使用字节流的。因此java要对这些字节流经行转化。char是unicode的,而byte是字节。java中byte/char互转的函数在sun.io的包中间有。其中ByteToCharConverter类是中调度,可以用来告诉你,你用的convertor。其中两个很常用的静态函数是  public static ByteToCharConverter getDefault();  public static ByteToCharConverter getConverte ...
1。java.lang.String类是final类型的,因此不可以继承这个类、不能修改这个类。为了提高效率节省空间,我们应该用StringBuffer类 3、int 和 Integer 有什么区别 Java 提供两种不同的类型:引用类型和原始类型(或内置类型)。Int是java的原始数据类型,Integer是java为int提供的封装类。Java为每个原始类型提供了封装类。 原始类型封装类 booleanBoolean charCharacter byteByte shortShort intInteger longLong floatFloat doubleDouble 引用类型和原始类型的 ...
It is no doubt that computer is the greatest invention of the last century.It has brought a lot of conveninece to our work and study. with computer ,we can find the necessary information as much as possible.with compu- ter,we can solve many complex calculations easily,we can also find solutions to d ...
public class DosEquis{     public static void main(String [ ] args){          int i =0;          char x='X';          System.out.println(  true ? x : 0 );  // (1)           System.out.println(false? i : x); //  (2)     }   }   上面的程序的结果是:X88;不是我想的XX;我菜。。5555555555555555。 对于条件操作符JAVA中有一定的操作规则: 1) 如果第二个 ...
美国口语俚语(1) 1.clock in 打卡 Don't forget to clock in,otherwise you won't get paid. 别忘了打卡,否则领不到钱。 2.come on to 对...轻薄;吃豆腐 Tanya slapped Bill after he came on to her. Tanya在Bill对她轻薄之后打了他一巴掌。 3.come easily 易如 ...
1.It's up to you.(由你决定。) 2. I envy [羡慕]you.(我羡慕你。) 3. How can I get in touch with you? 4. Where can I wash my hands? (请问洗手间在哪里?) 5. What's the weather like today?(今天天气如何?) 6. Where are you headed [朝…方向行 ...
异或操作符:^ 有一条性质:x^y^x=y;根据这条性质,我们可以改变交换一下两个数的值。 x=x^y; y=y^x; x=y^x; 这样x,y其不是交换了哈哈。下面的小程序演示了一下这个交换问题哈哈。 public class CleverSwap{      public static void main(String[ ] args){            int x = 1984;            int y= 2001;            x ^ = y  ^ = x  ^ = y   //          (1)           System.out.println ...
《绝望主妇》 1、The opposite of love isn't hate. It's indifference.      爱的对立面并非恨,而是冷漠。 2、We can't prevent what we can't predict.      我们不能预防我们所不能预知的。 3、We all have moments of desperation. But if we can face them head on,         that's how we find out just how strong we really are.     我们都有过绝望的时候,当我们勇于面对这 ...
XML作为全球通用的结构化语言,越来越受人们青睐,各种开发平台(比如Microsoft Studio系列、Oracle系列、Inprise Borland系列等)也都把支持XML开发作为宣传口号之一 。由于笔者所从事的电子政务开发较早的引入了XML,所以尝到了许多甜头,在许多项目中利用XML数据交换信息,省去了许多麻烦事,不用制定繁锁的数据格式,利用XML数据易于表达,也利于一线开发者跟踪调试。         笔者先前也曾发表过相关的文章,比如《简析Delphi中的XML编程》一文,有兴趣的读者可以到Google网(http://www.google.com)去搜索一下,有很多媒体转载。今 ...

News on Internet

       Different people will offer quite different ideas about the news on Internet.There are mainly two kinds of opinions.Many  people assert that Internet news is valuable for   the    timely report .However,others believe that news on Internet is valueless.         Some may proclaim that news o ...
mov cx,count              ;CX←数组元素个数  dec cx                           ;元素个数减1为外循环次数 outlp:  mov dx,cx                          ;DX←内循环次数  mov bx,offset array inlp: mov al,[bx]                 ; 取前一个元素  cmp al,[bx+1]               ;与后一个元素比较  jna next  xchg al,[bx+1]                ;否则,进行交换  mov [bx], ...
第一个登上月球的宇航员阿姆斯特朗说了举世闻名的一句话:“一个人的一小步,却是人类的一大步”。在他返回登陆舱时,他说了一句莫名其妙的话:“祝你好运,戈斯基先生。” 美国宇航局的大多数人都以为这句话没什么深意,可能是指某个苏联宇航员。可是查来查去,苏联或美国宇航局都没有这么一个人。之后每年都有很多人问阿姆斯特朗“祝你好运,戈斯基先生”这句话有什么含义,他都笑而不答。 ...... 。。。。。。。。。。。。 。。 ...
;用二进制显示从键盘输入的一个字符的ASCII码  mov ah,1                       ;从键盘输入一个字符  int 21h  mov bl,al                      ;BL←AL=字符的ASCII码 ;DOS功能会改变AL内容,故字符ASCII码存入BL  mov ah,2  mov dl, ':'                                    ;显示一个分号,用于分隔  int 21h  mov cx,8                                ;CX←8(循环次数) again: shl b ...
    It is well known that  more and more people have been flooding into the bigs cities with the development of economy,and the press of the city will be more and more deep,so the problem also attract our attention.       there are many ways to solve the problem ,Firstly,it is a good idea to build &q ...

oral english (1)

UP 
Take it easy. 别紧张。 Cheer up! 振作起来! My treat. 我请客。 Forget it! 休想! (算了!) What's up? 有什么事吗? Count me on 算上我。 I'm his fan。我是他的影迷。 He is my age. 他和我同岁。 Help yourself. 别客气。 You set me up! 你出卖我! Enjoy yourself! 祝你玩得开心! It's her field. 这是她的本行。 You owe me one.你欠我一个人情。 I owe you.我欠你个人情。 I do ...
Global site tag (gtag.js) - Google Analytics