May 14

Generally (with the exception of char) there are always two possibilities to call a constructor: primitve data type and String.

Therefore we can call the wrapper constructors also in two different ways:

Integer a = new Integer (23); // constructor-call with int-value
Integer b = new Integer (“23″); // constructor-call with String-Value

Tagged with:
preload preload preload
http://www.wikio.de Blog Top Liste - by TopBlogs.de Blogverzeichnis - Blog Verzeichnis bloggerei.de Bloggeramt.de Software
Webbhotell Top Blogs