Académique Documents
Professionnel Documents
Culture Documents
4. Write a complete JDBC based application where in the user supplies the following
table as input and the program should have the facilities of Adding, Modifying, Viewing and Deleting the Records of the given table. Stud_No 1 Stud_Name Abc Course MCA Fees 200000 Duration 3 Years
Spring 2012 Master of Computer Application (MCA) Semester IV MC0078 Java Programming 4 Credits (Book ID: B0831 & B0832 ) Assignment Set 2 (60 Marks)
Each question carries 10 Marks 6 X 10 = 60
1. With the help of a simple program demonstrate the compilation and execution of Java Programs. 2. Write a complete program for each of the following: Decision Making Statements Looping Statements 3. Write a program to demonstrate the concept of various possible exceptions arising in a Java Program and the ways to handle them. 4. Write a program to show the various ways of creating and running threads in Java.
5. Write a simple program in Java to display a string message using Servlets. List out the steps involved in Compiling and Running Servlets.