About Question enthuware.ocpjp.v8.2.1767 :
Posted: Tue Aug 30, 2022 2:32 pm
The current justification is not related with the question at all. The correct explanation should include all the three DriverManager.getConnection() overloads and the correct order of invoking the methods.
In this case, create a Properties object to put all parameters together, set all desired properties, then invoke the correct DriverManager.getConnection() overload (String, Properties) - in this case.
Plus, there is no method Connection.connect().
Did I say something wrong, improper or ambiguous? Please, feel free to comment.
In this case, create a Properties object to put all parameters together, set all desired properties, then invoke the correct DriverManager.getConnection() overload (String, Properties) - in this case.
Plus, there is no method Connection.connect().
Did I say something wrong, improper or ambiguous? Please, feel free to comment.