Answer Posted / aditya mohata
These classes are Wrapper classes.We hav them as we cant
pass an primitive directly through an method to different
class.So we need wrapper classes to convert them to their
already defined classes.Send them n again unpack them.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How does list work in java?
Compare overloading and overriding?
What is the use of optional ?
Can we have return statement in finally clause? What will happen?
Can inner class extend any class?
Can we instantiate interface in java?
What is difference between core java and java ee?
What is tree in java?
Which collections are thread safe in java?
when you will synchronize a piece of your code? : Java thread
Is string an object?
Can a method be static?
What are the advantages of inner classes?
What is multithreading in java?
What's the default access specifier for variables and methods of a class?