0% found this document useful (0 votes)
278 views

Model Questions

The document discusses various topics in Java including packages, interfaces, applets, object serialization, event handling, layouts, RMI architecture, JDBC, servlets, collections and maps. It defines each topic and provides examples to explain concepts like packages, interfaces, applet lifecycles, object serialization, event sources and listeners, adapter classes, layouts in applets, event handling in radio buttons and choice lists, RMI architecture, JDBC driver types, cookies in servlets, session tracking in HTTP, collections like array lists, linked lists and hash sets, and map interface operations. Each section provides details on the given topic with relevant code examples.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views

Model Questions

The document discusses various topics in Java including packages, interfaces, applets, object serialization, event handling, layouts, RMI architecture, JDBC, servlets, collections and maps. It defines each topic and provides examples to explain concepts like packages, interfaces, applet lifecycles, object serialization, event sources and listeners, adapter classes, layouts in applets, event handling in radio buttons and choice lists, RMI architecture, JDBC driver types, cookies in servlets, session tracking in HTTP, collections like array lists, linked lists and hash sets, and map interface operations. Each section provides details on the given topic with relevant code examples.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Define a package with its general form.

Discuss about importing


packages in java and creation of custom packages in java. And how
they are imported (8).

2. Define interface and its general form.

• Interface references can be used to access implementations.

• Interfaces can be extended.

Justify the above statements with a suitable example. (8).

3. Discuss about the lifecycle of applet with its skeleton(6)

4. Define object serialization. Discuss about it with a neat suitable


example.(10)

5. Write a program to display a greet message according to Marks obtained


by student. (6)

6. Discuss about the role of events, event sources and event listeners. (10)

7. Explain the role of adapter classes with simple example(6)

8. Define event and discuss about main event classes in java.awt.event


package with its event sources. (10).

9. Discuss about different layouts in applet with a suitable examples for


each (16).

10.Discuss about event handling in radio button and choice list with
suitable examples. (8)

11.Discuss in detail about detail RMI architecture .(8)

12.What is JDBC? Describe about various JDBC driver types. (8)

13.Discuss about cookie class in servlets.(6)


14. Why HTTP is called as a Stateless protocol. Discuss about Session
Tracking in Servlets with a suitable example (10).

15. Draw the hierarchy of collection class. Discuss about the Array List,
Linked list and Hash Set with suitable examples .(16)

16. Mention the use of various Map Interface and discuss about the basic
operation of Map interfaces.(4)

You might also like