the compilation of Sample.java is ok but the execution of the program is showing the following error:
Exception in thread “main” java.sql.SQLException: No suitable driver
at java.sql.DriverManager:getConnection(DriverManager.java:532)
at java.sql.DriverManager:getConnection(DriverManager.java:171)
at Sample.open(Sample.java:52)
at Sample.main(Sample.java:19)
can you help me…