Why do we use regex?
No Answer is Posted For this Question
Be the First to Post Answer
Are strings immutable in java?
Explain the difference between jdk, jre, and jvm?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
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.
watz the difference between abstract class and interface? Which one u ill choose as a designer?
Why are constructors used?
What is the benefit of using enum to declare a constant?
Explain what access modifiers can be used for methods?
What is the use of private static?
Can you explain the private protected field modifier?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What about instanceof operator in java?