1. 引用操縱對象 String s;這里只是創(chuàng)建了引用而不是對象所宰,此時(shí)向s發(fā)送消息會(huì)返回一個(gè)運(yùn)行時(shí)錯(cuò)誤,String s = new String('asdf'); or ...
IP屬地:山西
1. 引用操縱對象 String s;這里只是創(chuàng)建了引用而不是對象所宰,此時(shí)向s發(fā)送消息會(huì)返回一個(gè)運(yùn)行時(shí)錯(cuò)誤,String s = new String('asdf'); or ...