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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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
What is an enumeration class?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is an enumeration class?
Answer
# 1
An object that implements the Enumeration interface 
generates a series of elements,one at a time. It has two 
methods,namely hasMoreElements() and nextElement().
   hasMoreElements() tests if this enumeration has more 
elements and nextElement() method returns successive 
elements of the series.
 
Is This Answer Correct ?    2 Yes 0 No
Janet
 
  Re: What is an enumeration class?
Answer
# 2
enumeration class contains the method elements to traverse
threw the elements of collection
 
Is This Answer Correct ?    2 Yes 0 No
Ravikiran(aptech Mumbai)
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
How Array List can be Serialized. Polaris5
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time? Aricent2
How to re-get an object that is collected by garbage collector?  1
How do you compare two strings? any predefined method for this?  2
how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly? Satyam1
write a progam hashmap & hashtable? IBM2
What is the method used to get the absolute value of a number?  2
Can you call a constructor within a constructor?  6
What is Map interface? Wipro2
What is meant by controls and types?  1
can we create a instance for intwerface?  3
what is java  9
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac  2
What is advantage of using threads? BMC2
What is Collection interface? Zensar1
Why to give the file name same as the public class name in java?  3
What are the OOAD concepts in java explain with examples? Aricent4
Name the method that is used to set a TextComponent to the read-only state?  1
What is persistence ?  2
What are different types of Exceptions?.  5
 
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