How to Create A Wapper Class in core Java and Why are Use in
java?
Answers were Sorted based on User's Feedback
Answer / tanmayy
We use wrapper classes in java so as to objectify the
primitive data types.There are certain wrapper classes for
different data types such as:-
int : Integer
float : Float
boolean : Boolean
etc...
Is This Answer Correct ? | 16 Yes | 0 No |
Answer / srikanth
int i=100;
here we are converting primitive to wrapper object
Integer i=new Integer(i);
Is This Answer Correct ? | 14 Yes | 2 No |
What is scope & storage allocation of global and extern variables? Explain with an example
Can a static method be final?
What is a text string?
Difference between JDK, JRE, JVM
16 Answers Deloitte, HCL, Mind Tree, Oracle, Reliance, TCS, ThinkBox,
how do I create a runnable with inheritance? : Java thread
Explain about static nested classes in java?
What is keyword auto for?
What are the two parts of a conditional statement?
Is null a string?
What is parse method?
What are internal and external variables?
Why do you canvas?