0 votes
in JAVA by
Write the steps to connect to a database in Java?

1 Answer

0 votes
by

The methods for connecting to a database in java are:

• Creating statement

• Executing queries

• Registering the driver class

• Creating connection

• Closing connection

Related questions

+1 vote
asked May 13, 2021 in JAVA by rajeshsharma
+1 vote
asked May 7, 2021 in JAVA by sharadyadav1986
...