what is the logic inside any default constuctor?
Answers were Sorted based on User's Feedback
Answer / harish
in defult constructor there is a statment super(); for
calling to super class constructor.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / meena
The default constructor initializes all the variables
declared inside the program to default values.
Is This Answer Correct ? | 1 Yes | 0 No |
What is package private scope in java?
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 int argc char * argv?
What is hashmap and map?
Features of JAVA ? In which version of java synchronizedXXX() methods are included in Collections class.
Which is easier .net or java?
I want to run a simple hello world java (HelloWorld.java) program using a batch file. How can i run it and how to construct a batch file.
what is the use of abstract class and interface with example?
2 Answers Cycore, DNS, Technoram,
What is anagram word?
What is double checked locking in singleton?
If I only change the return type, does the method become overloaded?
What is a “stateless” protocol ?