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 |
i need example for java abstraction. where we use abstraction and why we need abstraction.
What is stringjoiner ?
Is main an identifier?
What are the steps to do connection pooling in weblogic?
Tell me about different OOPS concepts.
can we Connect Applet to Data Base ? with Discriptiom. and also What is Diff. from Applet & Servlet?
Why string is popular hashmap key in java?
How applets will communicate with each other?
3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the room's. How effectively you can find this key? (Qs2 and Qs3 are related)
what is business delegate?
Say any two properties in beans?
For class CFoo { }; what default methods will the compiler generate for you>?