Showing posts with label AdvJava. Show all posts
Showing posts with label AdvJava. Show all posts

Practical 20: Write a program to update and delete a record from a database table.

Database: Program to Update: import java.sql.SQLException; import java.sql.Statement; import java.sql.DriverManager; import java.s...
Read More

Practical 19: Write a program to demonstrate the use of Prepared Statement

Database: Program Prepared Statement: DynamicUpdateApp.java : import java.sql.Connection; import java.sql.PreparedStatement; import ...
Read More

Practical 18: Write a program to insert and retrieve the data from database using JDBC

Database: Program to insert data: // Program to Insert Data into Database import java.sql.Connection; import java.sql.DriverManager;...
Read More

Practical 12: Write a program to demonstrate the use of JTextField and JPasswordField using Listener Interface

1) Write a program using JPasswordField to set the password character as '#' instead of '*' import javax.swing.*; import ...
Read More