Practical Exam Questions
Practical Exam Questions
Swamiraj
13. Develop a program to accept a password from the user and throw “Authentication Failure” Exception if the password is incorrect.
14. Write a program to create three Buttons with Caption OK ,RESET and CANCEL
15. Design a Jframe to demonstrate the use of Radio Button and Checkbox.
16. Write a program to generate following output using Border Layout
Rutuja
17. Write a program to generate following output
18. Write a Java program to create a table of Name of Student, Percentage and Grade for 5 students using JTable.
19. Write a program to implement MouseMotionListener interface.
20. Write Java Program to display following output.
21. Write a program using URL class to retrieve the host, protocol, port and file of URL http://www.msbte.org.in:80/index1
Pratiksha
22. Write a program to insert and retrieve a record in Student table of database1.
23. Write a simple program to open a connection with database.
24. Write a program to update a record in Student table of database1 using PreparedStatement interface
25. Write a program to insert a record in Student table of database1.
26. . Develop a program to update a record in database table using PreparedStatement
Sanket
27. Write program to delete data from Student table of database1 using Statement interface..
28. Implement a java program using ServerSocket class methods getInetAddress(), getLocalPort()
29. Implement a java program using Socket class methods getInetAddress(), getPort(),getLocalPort(),getLocalAddress
30. Define an exception called 'No Match Exception' that is thrown when the password accepted equal to "MSBTE'. Write the program.
31. create a package and import it with suitable example.