Yes, so we don't use new for int or char. Java's primitive types are
not implemented as objects. Such normal variables are used for
efficency(object overhead). However we can convert to their resp
object version using boxing(eg int to Integer) and intValue method of
Integer object equals original int type value

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to