ADVANCED JAVA PROGRAMMING - 11 15.pdf - Google Drive

1 downloads 52 Views 86KB Size Report
What are TCP/IP sockets? What are the classes available for TCP/IP. sockets in java? Give an example program. 15. Define
R4P1/10N15 Reg. No

St. Joseph’s College of Arts & Science (Autonomous) St. Joseph’s College Road, Cuddalore – 607001 CS407T - ADVANCE JAVA PROGRAMMING Time : 3 hrs Max Marks :75 SECTION – A (5X5=25) Answer any FIVE Questions 1. How will you run an applet in a HTML page? Give an example? 2. Write short notes on GetDocumentBase() and GetCodeBase(). 3. Explain the font and color aspects in java graphics context. 4. Write a program to create bold and italic font using java AWT font class. 5. Explain the steps to create. 6. Write short notes on port numbers. 7. What are the rules needed to be followed for using java bean? 8. Write a program in java to draw a circle and to display its area and perimeter. SECTION – B (5X10=50) Answer any FIVE Questions 9. Explain the method of loading an image and displaying it using applets. Illustrate with an example program.

~1~

R4P1/10N15 10. List the layout manager classes in java. Explain with an example. 11. Write a program using java AWT buttons and checkbox controls for displaying a check list for planning a trip to European countries. 12. What is JDBC? Draw the detailed architecture of JDBC and explain it in briefly. 13. Create a student database as student1 and write a java code to perform the insert, view and delete operations using queries. 14. What are TCP/IP sockets? What are the classes available for TCP/IP sockets in java? Give an example program. 15. Define RMI Give an example using RMI. 16. Explain the properties of java beans with example.

************

~2~