what is an atoboxing in java?

Java has primitives, like int boolean float etc, and classes like Integer Boolean Float etc. You use the primitive when you just want a value, and the class when you want to use its more interesting methods. Before Java 1.5 you had to convert between the two explicitly, but now Java will automatically convert for you in many (but not all) circumstances. The automatic conversion between class and primitive is called auto boxing/unboxing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.