Java??????????C++???????????
???????????? ???????[ 2013/5/21 10:16:35 ] ????????
??????????????Java??C++??????????????????????????????в?????????????????????????л?????????????
????Java??C++??????????????????????Java??C++???????????????????????????????????????????й????????
????1??C++?????????
??????C++????????????????????????????????
1 Dog dog;//Dog?????
2 Dog *p = new Dog();
??????????????C++?ж?????????????????????????е?????????????
???????????????????dog????洢????е???????С??Dog???г?????????????????????????????????????????????????????洢????????и????????????????
?1 C++?????????1????????
????????????????????÷???????????????*p?????п??????4??????new Dog()?????п?????????????????????????*p???????????*p???????????????е??κγ?????????
?2 C++?????????2????????
????2??Java?????????
??????C++????????????????????????????Java??????????μ????????
1 Dog dog = new Dog();
????JVM???????????????????????и?dog????????????new Dog();???????п???????????????dog?????е???????????????????????????????
?3 Java?????????????????
????3?????
????????2???3???????Java?????????????C++???????????????????????????д??p??dog????????????????????????????????????????????????????????????C++??p????????????????????????????е??κε?????????????????????????????Java??dog????????????????????C++???????????????????????????C++?????????????Java????????е??++??????????????????????????????C++??Java???????
????????????????????????????????????????????????????л??λ??????????????
????????????http://www.cnblogs.com/1Q84mi/archive/2013/05/15/3080716.html
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11