Write a java program that establishes a connection to oracle database successfully. If the connection is successful, it should display a message “Connection Established successfully”. In case, it is not able to do so due to any exception, it should display the message “Connection could not be established “. If there is an exception, it should also display the description of the exception.
Write a java program that establishes a connection to oracle database successfully. If the connection is successful, it should display …
Share
Write a java program that establishes a connection to oracle database successfully. If the connection is successful, it should display a message “Connection Established successfully”.
ANSWER: