Skip to content

Instantly share code, notes, and snippets.

View Mudassir742's full-sized avatar
💻

Mudassir Waheed Mudassir742

💻
View GitHub Profile
@Nabid
Nabid / DBHelper.java
Last active July 18, 2022 16:07
MySQL helper class for Java. MySQL JDBC driver connection Java class example.
/*
Assuming that you have proper MySQL JDBC driver:
How to use this class?
1. Create new object
DBHelper db = new DBHelper();
2. Open connection
db.open();
3. Call corresponding method
db.test();