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   SiteMap shows list of All Categories in this site.
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
what is generics in jdk1.5?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is generics in jdk1.5?
Answer
# 1
Hi,

Generics is Template support added in JDK1.5 where in we can maintain templates of object with particular type and also this object is restricted to accept type other than specified one at code time.
This help reducing runtime exception and also we can create predefined well formed templates of Type.

Best Example.

http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#generics

Code written to use the generics feature should not be a lot slower or a lot more memory-intensive than non-generic code. Using ten percent more space or time than ....
 
Is This Answer Correct ?    0 Yes 0 No
Rohitjadhav
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the middleware?  2
Explain the difference between getAppletInfo and getParameterInfo?  1
What are concepts of OOPS and how are they implemented in Java? KPIT2
What is Interface? BMC5
What is the use of an interface?  3
why the constructor should be used in class,if there is no constructor what will happen?  4
What are the parameters used in Connection pooling? IBM1
What are null interfaces? Give some examples?  2
what is the diff between Servletcontext and servletconfig?  5
What is a stream? what are the different types and classes of Streams?  2
Adapter classes?  3
What is the argument type of main() method?  2
What is unicode?  2
Explain the concept of polymorphism with examples?  4
What are Advatages of Overloading and Overridding. TCS3
what are Checked & Unchecked exceptions ?  2
What is the difference between Abstract Class and Interface AMDOC6
what is difference between set and list in collection? Satyam3
IS method overriding is Duplication of Methods? CybAge4
I want to know the host name and provider name for tcs web mail TCS3
 
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