How do you sort in descending order in java using collections sort?
No Answer is Posted For this Question
Be the First to Post Answer
How to convert string to byte array and vice versa?
Can we cast any other type to boolean type with type casting?
why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?
Why are pointers not secure?
What is the difference between throw and throws keywords?
What is runtime polymorphism or dynamic method dispatch?
State two differences between C and Java.
What is the use of generics? When was it added to the Java development Kit?
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 the primitive data type have classes?
Difference in the use of print, println, and printf.
What is lossy conversion in java?