How can constructor chaining be done using this keyword?
Answer / nashiinformaticssolutions
Calling one constructor from another constructor in the same class is what it is. This keyword can be used to accomplish this.
| Is This Answer Correct ? | 0 Yes | 0 No |
How is object created in java?
________ exception must be either caught or specified in throws class of the method.
What are inner classes or non static nested classes in java?
What is the difference between jdk and jre?
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.
Explain about complier design(phases)
0 Answers Aditi Placement Service,
How to perform bubble sort in java?
Is string a wrapper class?
How do I know if java is installed?
What is a data structure java?
What are non-access modifiers?
can we overload main method?