Karnataka State Open University (KSOU) 2011 B.C.A Computer Application- Java Lab - Question Paper
IV Semester B.C.A. Examination, August 2011 JAVA LAB
Duration: 3 Hours
Max. Marks: 75
(5x15=75)
I. Answer any five questions :
1) Write a Ja_va program constructor to create a thread by extending the thread class.
2) Write a Java program Create an applet to layout a set of buttons within a Frame using a Grid Layout with 4 rows and 4 columns.
3) Write a program to find the even sum and the odd sum in the given array.
4) Write a class circle which consists of functions getdataQ and areaQ, and also write a main program to create a circle object and to find the area by calling the function area ( ) in circle class and display the result on the screen.
5) Write a program to demonstrate multiple inheritance.
6) Create an applet to layout a set of buttons within a Frame using a Grid Layout with 4 rows and 4 columns.
7) Write a program to add the two matrices.
Attachment: |
Earning: Approval pending. |