What is class and object in java?
No Answer is Posted For this Question
Be the First to Post Answer
what is check p object in java
What will be the default values of all the elements of an array defined as an instance variable?
What are null interfaces in JAVA ? and give me some examples?
Write a program to print the pattern given below
Is arraylist zero based?
Can array grow dynamically in java?
what is the difference between Java Command Line and C command Line?
What are class members by default?
can java object be locked down for exclusive use by a given thread? : Java thread
I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one?
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.
What is a nullable field?