what is the use of datasource in core java?
Answer Posted / lark
A DataSource encapsulates state information for a database
such as driver class name, url, username and password. This
info is then handed out via the getConnection() method to
its callers.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
When should a function throw an exception?
How do you clear a method in java?
What do you mean by constant time complexity?
What is the ==?
Which collection does not allow duplicates in java?
What is a singleton class? Give a practical example of its usage.
What class of exceptions are generated by the java run-time system?
How will you invoke any external process in java?
Is upper case in java?
How can constructor chaining be done using this keyword?
Is java se open source?
What is an iterator interface in java programming?
Explain heap sort?
What is meant by 'bit masking' in java?
What is the purpose of default constructor?