Gujarat University 2007 B.E Computer Engineering-Java programming - Question Paper
1/67
Candidates Seat No.
Gujarat University B.E. (C.E.) Semester-Ill Java Programming Saturday, 29th December, 2007]
JTime : 3 Hours Max. Marks : 100
Instructions
: ( 1 ) Attempt all questions from each section ( 2 ) Answei to the two sections must be written in seperate answer books. ( 2 ) Figure to the right indicate full marks,
( 2 ) Assume suitable additional data if necessary.
SECTION I
jLi a Write and explain features of Java language. 8
B How to do Inheritance in java and also explain various access 8
modifiers injava.
C What is the use of *static.? keyword. 2
% A What is Exception? Explain Exception handling mechanism with . S
suitable example.
B What is package? Write and explain steps for creating package. 8
OR
B Write a note on Interface. 8
3 Write notes on following (Any four) 16
1 Inner class
2 Reflection
3 Object serialization
4 Array
5 Byte stream Vs Character stream
SECTION : II
i\ A Write a java program which reads data from one text file and writes 9
the same in other text file.
B Write a java program which reads 5 numbers from keyboard and 9
shows those numbers in sorted form.
5 A ' What is Thread? Explain usage of following methods with respect to 8 multi threading in java.
a. wait
b. notify
B What is Thread? Explain various ways to create multiple threads in 8
java.
6 A Write a note on AWT. 8
B Write a java program which creates applet with Hello world*' text 8
on it. Background color of applet should be yellow,
OR
B What is event? How to handle events injava? Explain event 8
handling mechanism with suitable example
Attachment: |
Earning: Approval pending. |