偶然看到這篇文章,雖然是基礎,可能好多人都不清楚,“兩個常識”一,對象(object)與引用(reference) 有許多書籍,對於對象與引用之間的關係一直語焉不詳,甚至有的乾脆是錯誤的說法,我們必須對這個問題 有個清晰的瞭解. 我們知道: A a = new A(); 產生一個A類型的對象,a是這個對象的的一個引用,即a指向heap中真正的對象,而a和其他基礎資料型別 (Elementary Data Type)
原來在別的地方發過,沒人理我. 難道我說的不對嗎. 我是 give me code 的支援者.想按照我的思路討論一下: 1 Singleton和Static的對比: 我個人認為Singleton和Static在邏輯上是一樣的, 即我希望只有一個東西讓我用. public Class A implements I{ public static void method(){ } } 這樣我可以直接用A.method(); 為什麼還要費勁的去用singleton模式呢 我想
Foreword Enterprise JavaBeans is the core component technology of the Java Enterprise Edition platform. It is an enterprise infrastructure designed to provide developers with the automatic management of many of the services essential to
Recently Google announced its support for OpenID, called "Federated Login", to let any site enable their users to sign on by their Google accounts, without registrations.This is really a good news, and for Java developers they can write some code to
AuthorSCEA Part 1 prepparationDebopam Poddar Greenhorn Joined: Jun 21, 2005Messages: 21 posted Friday, March 06, 2009 04:24:10 Hi I have passed SCWCD 5 today with 95%. Now I am planning to do SCEA 5 certification next. So could you please suggest