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
What language is an assembler written in?
Can we use string in the switch case?
what is singleton in java?
What is finalize method?
What is protected access modifier?
Does java support function overloading, pointers, structures, unions or linked lists?
Can private class be inherited in java?
What is meant by local variable and instance variable?
What is io stream in java?
What is command line argument
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
Explain the differences between abstraction and encapsulation?
Can a constructor be protected?
How to check if linked list contains loop in java?
How to avoid memory leak in java?