What is meant by wrapper classes?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the multilevel inheritance. and also give the Example of it ?
What is java autoboxing?
What is a data structure java?
What do you understand by final value?
Explain the difference between extends thread vs implements runnable in java?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
can we create instance for interface in java?
Explain final, finalize() and finally?
What is contract between hashcode and equal method?
What is nested loop? What is dangling else condition in it?
Distinguish method overloading and overriding
What is difference between c++ and java ?