My Hindi Forum

Go Back   My Hindi Forum > Miscellaneous > Tech Talks
Home Rules Facebook Register FAQ Community

Reply
 
Thread Tools Display Modes
Old 30-03-2010, 07:22 PM   #11
neha
Member
 
neha's Avatar
 
Join Date: Dec 2009
Posts: 152
Rep Power: 15
neha will become famous soon enough
Default

Quote:
Originally Posted by swati View Post
Next question from my side.

What are wrapper classes in Java?
A primitive wrapper class in the Java programming language is one of eight classes provided in the java.lang package to provide object methods for the eight primitive types. All of the primitive wrapper classes in Java are immutable. J2SE 5.0 introduced autoboxing of primitive types into their wrapper object, and automatic unboxing of the wrapper objects into their primitive value—the implicit conversion between the wrapper objects and primitive values.

Wrapper classes are used to represent primitive values when an Object is required. The wrapper classes are used extensively with Collection classes in the java.util package and with the classes in the java.lang.reflect reflection package.

The primitive wrapper classes and their corresponding primitive types are:

Primitive type Wrapper class Constructor Arguments
byte Byte byte or String
short Short short or String
int Integer int or String
long Long long or String
float Float float, double or String
double Double double or String
char Character char
boolean Boolean boolean or String

The Byte, Short, Integer, Long, Float, and Double wrapper classes are all subclasses of the Number class.
neha is offline   Reply With Quote
Old 31-03-2010, 08:24 AM   #12
sumit
Member
 
sumit's Avatar
 
Join Date: Feb 2010
Posts: 41
Rep Power: 0
sumit is on a distinguished road
Default

nice answer.
sumit is offline   Reply With Quote
Old 02-04-2010, 07:36 AM   #13
abhishek
Senior Member
 
abhishek's Avatar
 
Join Date: Dec 2009
Posts: 444
Rep Power: 18
abhishek is just really niceabhishek is just really niceabhishek is just really niceabhishek is just really nice
Default

next question.

What are the advantages of using Spring framework?
__________________
Join this forum, it's completely free.
abhishek is offline   Reply With Quote
Old 22-04-2010, 06:31 AM   #14
abhishek
Senior Member
 
abhishek's Avatar
 
Join Date: Dec 2009
Posts: 444
Rep Power: 18
abhishek is just really niceabhishek is just really niceabhishek is just really niceabhishek is just really nice
Default

A primitive wrapper class in the Java programming language is one of eight classes provided in the java.lang package to provide object methods for the eight primitive types. All of the primitive wrapper classes in Java are immutable. J2SE 5.0 introduced autoboxing of primitive types into their wrapper object, and automatic unboxing of the wrapper objects into their primitive value—the implicit conversion between the wrapper objects and primitive values.

Wrapper classes are used to represent primitive values when an Object is required. The wrapper classes are used extensively with Collection classes in the java.util package and with the classes in the java.lang.reflect reflection package.
__________________
Join this forum, it's completely free.
abhishek is offline   Reply With Quote
Old 22-04-2010, 06:31 AM   #15
abhishek
Senior Member
 
abhishek's Avatar
 
Join Date: Dec 2009
Posts: 444
Rep Power: 18
abhishek is just really niceabhishek is just really niceabhishek is just really niceabhishek is just really nice
Default

Next question, what are the differences between doGet and doPost?
__________________
Join this forum, it's completely free.
abhishek is offline   Reply With Quote
Old 13-06-2010, 10:27 AM   #16
brajesh
Member
 
brajesh's Avatar
 
Join Date: Dec 2009
Posts: 62
Rep Power: 15
brajesh is on a distinguished road
Default

Is this question related to java servlets?
brajesh is offline   Reply With Quote
Old 20-06-2010, 09:14 PM   #17
abhishek
Senior Member
 
abhishek's Avatar
 
Join Date: Dec 2009
Posts: 444
Rep Power: 18
abhishek is just really niceabhishek is just really niceabhishek is just really niceabhishek is just really nice
Default

Yes, now please answer the question..
__________________
Join this forum, it's completely free.
abhishek is offline   Reply With Quote
Reply

Bookmarks

Tags
java quiz


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT +5. The time now is 09:13 AM.


Powered by: vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
MyHindiForum.com is not responsible for the views and opinion of the posters. The posters and only posters shall be liable for any copyright infringement.