Answer Posted / vishnu
Wrapper class is a wrapper around a primitive data type. It
represents primitive data types in their corresponding class
instances e.g. a boolean data type can be represented as a
Boolean class instance. All of the primitive wrapper classes
in Java are immutable i.e. once assigned a value to a
wrapper class instance cannot be changed further.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
how we can make a write-only class in java?
What is the difference between static class and normal class?
What are the fileinputstream and fileoutputstream?
When should you make a function static?
Why hashcode is used in java?
What is a cup of java?
What is the common usage of serialization?
What are heterogeneous objects?
When can an object reference be cast to an interface reference in java programming?
Does java linked list allow duplicates?
What are the two ways to create a thread?
How to sort elements in a parallel array in java?
What is the difference between a static and a non-static inner class in java programming?
Which java collection does not allow null?
What is the final variable?