Wednesday, April 06, 2005
INTRODUCTION TO AUTOBOXING
Although the Java programming language is an object-oriented language, it's often the case that when using the language you need to work with primitive types. Before J2SE 5.0, working with primitive types required the repetitive work of converting between the primitive types and the wrapper classes. In this tip, you will see how the new autoboxing feature in J2SE 5.0 handles conversions -- for example, between values of type int and values of type Integer. The tip also discusses some autoboxing-related considerations in determining when two numerical values are equal.
Subscribe to:
Post Comments (Atom)
Popular Posts
- eBook making on the PSP
- AS400 Job Scheduler
- Installing Mambo on Linux
- Used as400s
- AS400 APIs
- About Me
- mrc online lab for anyone who wants to try their hand at building Java servlet applications
- Contact Us
- About Us
- WAS Application hangs with previous J2CA0086W warning messages STATE_TRAN_WRAPPER_INUSE
No comments:
Post a Comment