ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
can anyone explain  me the concept of autoboxing?
 Question Submitted By :: Shreya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: can anyone explain me the concept of autoboxing?
Answer
# 1
autoboxing is that the conversion of primitive data types 
into wrapper class objects automatically.By using generic 
types of java 1.5,we an acheive it easily.By declaring, the 
collection classes as shown below we can do it.
HashSet<Integer> hs=new HashSet<Integer>();
hs.add(1);
hs.add(2);
Iterator it=hs.iterator(0;
while(it.hasNext())
System.out.println(it.next());
 
Is This Answer Correct ?    2 Yes 0 No
Durga Ganesh Reddy
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is Vector?Can you elaborate how Vector is Thread safe?  3
Which all r Final classes in java except string?  3
can any one tell me when do u go for inheritance and polymorphism  1
Difference between array and arraylist. Sai-Softech2
Is &&= a valid Java operator?  2
What are packages and name a few?  2
What is meant by event handling?  1
How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u. CSC6
Can we inherit the constructor in a Class?please give one example. iGate2
What are different type of access modifiers?  3
Explain Stream Tokenizer?  2
What is object  3
Differentiate constructor and a method and how are it be used? Wipro4
How to override a equals() method and what is the use?  1
Can Applet have constructors?  2
What is data abstraction? Elaborate with example? BMC1
In the HashMap, we know the values but we dont know the key, then how can we get the key from HashMap ????? Kanbay3
How the elements are organized in BorderLayout?  4
class A{ class B{ } } in which name u save the file,its the program compile? HCL4
what is life cycle of applet?  3
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com