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 |
Why all programming languages have main as a execution starting point?
What is role of void keyword in declaring functions?
How to perform linear search in java?
Is it possible to use string in the switch case?
Can an object be garbage collected while it is still reachable?
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
explain the concept of virtual method invocation in polymorphism in detail?
What is the buffer limit?
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.
Why does java doesnot support multiple inheritance?
how many types of Inheritance?
what is meant by abstract class?