OBJECT ORIENTED PROGRAMMING JNTU previous years question papers

 

Time: 3 hours Max. Marks.80

Answer any Five questions

All questions carry equal marks

 

1 a. Define object, class, method. [ 6]
b. Explain about oops concept in detail. [10]

2 a. Explain different types of data types in java. [8]
b. Define variable .explain about declaration of variables in java. [8]

3a. Define inheritance writes a java program for simple inheritance. [8]
b. Explain about benefits of inheritance. [8]

4a. Differentiate between package and interface. [8]
b. Explain about different types of packages in java. [8]

5 a. Define exception. [8]
b. Explain about different types of exceptions in java. [8]

6 a. Define event. Explain about different types event classes in classes. [8]
b. Explain about the component event class and container event classes in java. [8]

7 a. Define applet. Write a java program that shows applet skeleton. [8]
b. Write a java program that shows simple applet that sets the foreground and back ground colors and out puts a string. [8]

8 a. Write a java program to demonstrate URL. [8]
b. Write a java program to demonstrate datagrams. [8]

 

 

Home