May 14

This post is also available in: German

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

  • Print
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • RSS
  • Blogosphere
  • email
  • PDF
  • Wikio
  • Technorati
  • Digg
  • DZone

Leave a Reply

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