Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
com
R09
Set No. 2
D
L
(c) JTextField
(d) JButton
[15]
R
O
2. Explain in detail about the ways of achieving run-time polymorphism in Java with
suitable program.
[15]
3. Discuss the following string operations:
(a) String Literals
W
U
T
N
[15]
[7+8]
5. (a) What is meant by polling? Discuss the built in mechanism in Java to avoid
it.
(b) What are the thread Synchronized methods in Java? Explain their usage with
a sample Java program.
[7+8]
6. Discuss in detail about nested and inner classes with examples.
[15]
7. What is meant by AWT? What are the AWT classes contained in the Java.awt
package? Discuss each of them briefly.
[15]
8. (a) Write a program that copies content of one file to another file by removing
unnecessary spaces between words.
(b) Create an employee class. Write an employee manager program to update
employee information using File Input Stream and File Output Stream class.
[7+8]
?????
www.jntuworld.com
www.jntuworld.com
R09
Set No. 4
D
L
R
O
[7+8]
3. (a) What is a class and object? Is there any relationship between them.Explain.
(b) What is a member function and data members? Explain briefly.
[7+8]
[15]
W
U
5. Discuss in detail about Autoboxing and Metadata in Java. Write sample Java
programs to describe each of them.
[15]
6. (a) What are Scroll bars? List out and explain various constructors and methods
defined in it.
T
N
(b) Write a sample Java program to demonstrate the usage of Scroll bars. [7+8]
7. What are Javas unchecked exceptions defined in Java.lang? Explain them with
suitable examples.
[15]
?????
www.jntuworld.com
[15]
www.jntuworld.com
R09
Set No. 1
[10+5]
D
L
R
O
[15]
(b) Explain how the Abstract class is implemented in the class with an example.
[7+8]
W
U
[15]
5. (a) Explain with an example how to create threads by implementing the Runnable
interface.
T
N
(b) What is meant by thread priority? Discuss its significance with a sample Java
program.
[7+8]
6. What are the methods defined by Object Output and Object Input class? Explain.
[15]
7. (a) Differentiate between method overloading and method overriding.
(b) Write a program to implement the method overloading.
8. Write Java program for handling keyboard events.
?????
www.jntuworld.com
[7+8]
[15]
www.jntuworld.com
R09
Set No. 3
D
L
R
O
[8+7]
[7+8]
W
U
T
N
[7+8]
[15]
[7+8]
7. (a) Define multiple inheritance. Does Java Support multiple inheritance. Justify
your answer.
(b) Write java program to implement the multilevel Inheritance.
[7+8]
8. What are the Javas built-in exceptions? List the checked exceptions defined in the
Java.lang and explain them clearly with suitable examples.
[15]
?????
www.jntuworld.com