ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1728)
 Advanced Java interview questions  Advanced Java Interview Questions (332)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (147)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
List interface?
 Question Submitted By :: Core-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
list inteface can have three types are 1.linkedlist
2.arraylist 3.vector

1.arraylist:It is dynamically growing array that stores
objects.It is not synchronized.
ex:-
ArrayList arl = new ArrayList();

2.Vector:-It is dynamically growing array that stores
objects.It is synchronized.

EX:-
Vector v= new Vector();
 
Is This Answer Correct ?    1 Yes 1 No
Ravichandra
 
Answer
# 2
List interface provides classes and interfaces to save the
objects incliding duplicates.
 
Is This Answer Correct ?    0 Yes 2 No
Ravikiran(aptech Mumbai)
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
class test { private static void main(String []adsf) { } } explain me that the above code is error or exception   3
1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads? RBS 2
What is multiple inheritance & can we implement it in java? Satyam 6
Difference between a Canvas and a Scroll Pane?. NIIT 1
in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen? ITC-Infotech 10
What is data abstraction? Elaborate with example? BMC 4
which method throws exception of type Throwable   2
what is object type casting? give some example with related? HP 2
explain System.out.println() CTS 12
can any one send me the example program of immutable class? TCS 2
What are the types of classes in java? HCL 4
What is meant by throwing an Exception? Accenture 4
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com