Académique Documents
Professionnel Documents
Culture Documents
3. (a) Explain the significance of public, private and protected access specifiers in Inheritance?
(b) What are the various polymorphism schemes in Java? Explain briefly.
5. (a) What is the difference between multi processes and multi threading?
(b) Describe the complete life cycle of a thread.
?????
Code :R7411302 2
IV B.Tech.I Semester(R07)Regular Examinations, November/December 2010
OBJECT ORIENTED PROGRAMMING
(Electronics & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE questions
All questions carry equal marks
?????
4. (a) What is an interface? What is the major difference between an interface and class?
(b) List out the advantages of package.
(c) Explain about CLASS PATH variable.
5. (a) List some of the common types of exceptions that might occur in Java. Give example.
(b) What are the advantages of exception handling mechanism in a program?
7. Discuss about Grid layout and give example program for Grid layout.
(a) TCP
(b) UDP
(c) URL.
?????
Code :R7411302 3
IV B.Tech.I Semester(R07)Regular Examinations, November/December 2010
OBJECT ORIENTED PROGRAMMING
(Electronics & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE questions
All questions carry equal marks
?????
2. (a) What is meant by call by reference? How call by reference can be achieved in Java?
(b) Discuss the string class in Java.
3. (a) A super class variable can reference a sub class object. Justify with an example program.
(b) Write a Java program to implement multiple inheritance using interface.
4. (a) What is an interface? What are the similarities between interface and class?
(b) How to design and implement an interface. Explain with an example program.
5. (a) What are the differences between synchronous and asynchronous exceptions.
(b) When try, catch, throw, statements are used. Explain with an example program.
8. What are the uses of TCP/IP client sockets and explain in detail.
?????
Code :R7411302 4
IV B.Tech.I Semester(R07)Regular Examinations, November/December 2010
OBJECT ORIENTED PROGRAMMING
(Electronics & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE questions
All questions carry equal marks
?????
2. (a) What is meant by overloading methods? What are the advantages of overloading concept?
(b) What is the usage of operator new? Explain with an example.
3. Describe the various forms of implementing inheritance? Give an example program for each
case?
5. (a) Differentiate process based multitasking and a thread based multi tasking.
(b) How many ways are possible in Java to create multi threaded program? Discuss difference
between them.
6. (a) What is Java applet? What is the advantage of writing applets in Java?
(b) Explain about life cycle methods of an applet.
7. How parameters are passed to an applet from HTML file. Explain with an example.
?????