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                      
tip   SiteMap shows list of All Categories in this site.
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  J2EE
 
 


 

 
 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
Difference between treemap & sortedset
 Question Submitted By :: Anuradha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between treemap & sortedset
Answer
# 1
treemap is used for storing key value pair without
duplicates in sorted order

sortedset is an interface which is extending set interface
 
Is This Answer Correct ?    1 Yes 3 No
Srikanth
 
  Re: Difference between treemap & sortedset
Answer
# 2
1.Treemap is a class which has implemented SortedMap
interface where as Sortedset is an interface which has been
implemented by Treeset class.
2. Treemap can contain the duplicate value but the Treeset
which has implemented Sortedset can not hold duplicate
value.
 
Is This Answer Correct ?    1 Yes 1 No
Amit Kumar
 
 
 

 
 
 
Other J2EE Interview Questions
 
  Question Asked @ Answers
 
what is the difference between application server and web server? Cegonsoft5
how many external variables are there in jsp ?  1
can someone tell me how does preparedstatement works? its an interface and where is the implementation? Satyam3
Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.  6
Which implicit object in jsp is synchronized?  5
what is the purpose and activity of SessionFactory in hibernate? HCL11
static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable Infosys5
Hi friends, can u explain Transparent Persistence in hibernate with sample code.  2
Which one should we prefer while using bean ? managed bean annotation or faces-config  1
i developed a Stateless Session bean program.And created a client by a common java class as class m {p s v m(String s[]){....}} And i called the bean deployed in weblogic.from cmd prompt And that run. mind it i have to set setenv,seting classpath for that bean jar file before compile and run it. ok when i do a servlet programme deployed in tomcat and call that bean then it give classdefnotfoundException and NoInitialContext like this.So how i sucessfully do this? Ok when i call that bean from java class from the console like i previously told, if i don't set setenv i found the same error on the cmd prompt. pls help to get out of it  2
How to achieve multiple inheretence in java.I need an example. how we achieve.  2
what is the difference between servlets and jsp? Cegonsoft2
 
For more J2EE 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 © 2012  ALLInterview.com.  All Rights Reserved.

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