Currently browsing author

Krishna Srinivasan, Page 111

java-thumbnail

How to use Enum in Switch?

Enums introduced in Java 5.0 (Read: New features in Java 5.0) allows switching to be done based on the enums values. It is …

java-thumbnail

Adding methods to an Enum

Enums introduced in Java 5.0 are just compiled java classes with some extra behavior. So you can basically do whatever you can …

Servlets Interview Questions

1) Is it the “servlets” directory or the “servlet” directory? For Java Web Server: on the file system, it’s “servlets” c:\JavaWebServer1.1\servlets\DateServlet.class in …

JDBC Interview Questions

1) I have the choice of manipulating database data using a byte[] or a java.sql.Blob. Which has best performance? java.sql.Blob, since it …

RMI Interview Questions

1)Explain RMI Architecture? RMI uses a layered architecture, each of the layers could be enhanced or replaced without affecting the rest of …

JNI Interview Questions

1) How to get the window handle under the Microsoft JVM? Bu using the AWT NI can get the window handle of …

Pin It on Pinterest