+ 8
Why do we need a wrapper class?
I don't get the concept of wapper class in java.
5 odpowiedzi
+ 7
Thanks.
+ 7
@Sofyan Maulana, really sorry, I saw your comment just now. I have been inactive for many days.
+ 1
You have your primitives: int, float, etc. They are containers that store a type of data but sometimes it's important to be able to use methods on them. Wrapper class Integer gives you methods to work on an int variable. Primitives are not exactly objects until you use a wrapper class.
+ 1
Saumya.. i need your answer on my question please T_T
- 4
https://chat.whatsapp.com/5WTyd67SIkr0Djoyp64Y9v join this wts app link we will help u in coding