Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

List Of Programs and Output for Experiment 9.

display_record.java - Write a Java program to display all records from a table using Java Database Connectivity (JDBC).

No       Name            Age             Place
101     Akash           20              Kollam
102     Varsha          19              Mavelikkara
103     Abhinav         20              Thrissur

student.java - Write a program to accept rollno, name, CGPA of “n” students and store the data to a database using JDBC connectivity. Display the list of students having CGPA greater than 7. (Use MySQL /PostgreSQL).

Enter How Many Student : 2

        Details of Student 1

Enter Roll No: 101
Enter Name: Akku
Enter CGPA: 9

        Details of Student 2

Enter Roll No: 102
Enter Name: Addu
Enter CGPA: 6

         Students who have CGPA greater than 7
Roll no : 101    Name : Akku     CGPA : 9.0
Click 1 to clear the table or else click 0 to continue
0