What is Collection interface?



What is Collection interface?..

Answer / ravikiran(aptech mumbai)

Collection interface provides convinience methods for adding
removing and iterating the objects in and out from collections

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why all programming languages have main as a execution starting point?

4 Answers  


What is role of void keyword in declaring functions?

0 Answers   Adobe,


How to perform linear search in java?

0 Answers  


Is it possible to use string in the switch case?

0 Answers  


Can an object be garbage collected while it is still reachable?

3 Answers  






how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

0 Answers   Google,


explain the concept of virtual method invocation in polymorphism in detail?

0 Answers   TCS,


What is the buffer limit?

0 Answers  


84. try { 85. ResourceConnection con = resourceFactory.getConnection(); 86. Results r = con.query(”GET INFO FROM CUSTOMER”); 87. info = r.getData(); 88. con.close(); 89. } catch (ResourceException re) { 90. errorLog.write(re.getMessage()); 91. } 92. return info; Which is true if a ResourceException is thrown on line 86? 1 Line 92 will not execute. 2 The connection will not be retrieved in line 85. 3 The resource connection will not be closed on line 88. 4 The enclosing method will throw an exception to its caller.

1 Answers  


Why does java doesnot support multiple inheritance?

5 Answers   TCS,


how many types of Inheritance?

0 Answers   Impetus,


what is meant by abstract class?

0 Answers   Aspire,


Categories