Friday, 30 August 2013

Primitive variables perform calculations faster than their associated wrapper class

Primitive variables perform calculations faster than their associated
wrapper class

This is an exact statement from a book on Java. Can someone confirm
whether this is indeed right ?
And why does the operation cost done on wrapper classes will be higher
than their primitive counterpart ?

No comments:

Post a Comment