Tuesday, June 06, 2006

Interviewer's Questions : Advance Java

These are not in any particular order.

  1. What is RMI?
  2. Explain about RMI Architecture?
  3. What are Servelets?
  4. What is the use of servlets?
  5. How will you pass values from htm page to the servlet?
  6. How do you load an image in a Servelet?
  7. What is purpose of applet programming?
  8. How will you communicate between two applets?
  9. What is the difference between Servelets and Applets?
  10. How do you communicate in between Applets and Servlets?
  11. What is the difference between applet and application?
  12. What is the difference between CGI and Servlet?
  13. In the servlets, we are having a web page that is invoking servlets, if username and password is in database? Suppose the second page also if we want to verify the same information whether it will connect to the database or it will be used previous information?
  14. What are the difference between RMI and Servelets?
  15. How will you call an Applet using Java Script Function?
  16. How can you push data from an Applet to a Servlet?
  17. What are 4 drivers available in JDBC?
  18. At what situation are four of the drivers used?
  19. If you are truncated using JDBC , how can you that how much data is truncated?
  20. How will you perform truncation using JDBC?
  21. What is the latest version of JDBC?
  22. What are the new features added in that? What is the difference between RMI registry and OS Agent?
  23. To a server method, the client wants to send a value 20, with this value exceeds to 20 a message should be sent to the client . What will you do for achieving this?
  24. How do you invoke a Servelet?
  25. What is the difference between doPost method and doGet method?
  26. What is difference between the HTTP Servelet and Generic Servelet?
  27. Explain about their methods and parameters?
  28. Can we use threads in Servelets? Write a program on RMI and JDBC using Stored Procedure?
  29. How do you swing an applet?
  30. How will you pass parameters in RMI?
  31. Why do you serialize?
  32. In RMI ,server object is first loaded into memory and then the stub reference is sent to the client. true or false?
  33. Suppose server object not loaded into the memory and the client request for it. What will happen?
  34. What is the web server used for running the servelets?
  35. What is Servlet API used for connecting database?
  36. What is bean? Where can it be used?
  37. What is the difference between java class and bean?
  38. Can we sent objects using Sockets?
  39. What is the RMI and Socket?
  40. What is CORBA?
  41. Can you modify an object in corba?
  42. What is RMI and what are the services in RMI?
  43. What are the difference between RMI and CORBA?
  44. How will you initialize an Applet?
  45. What is the order of method invocation in an Applet?
  46. What is ODBC and JDBC?
  47. How do you connect the Database?
  48. What do you mean by Socket Programming?
  49. What you mean by COM and DCOM?
  50. what is e-commerce?

Interviewer's Questions: Java

  1. What is user defined exception?
  2. What do you know about the garbage collector?
  3. What is the difference between java and c++?
  4. In an htm form I have a button which makes us to open another page in 15 seconds. How will you do that?
  5. What is the difference between process and threads?
  6. Have you ever used HashTable and Directory?
  7. What are statements in Java?
  8. What is a JAR file?
  9. What is JNI?
  10. What is the base class for all swing components?
  11. What is JFC?
  12. What is the difference between AWT and Swing?
  13. Considering notepad/IE or any other thing as process, What will happen if you start notepad or IE 3 times ? Where three processes are started or three threads are started?
  14. How does thread synchronization occur in a monitor?
  15. Is there any tag in htm to upload and download files?
  16. Why do you canvas?
  17. How can you know about drivers and database information ?
  18. What is serialization?
  19. Can you load the server object dynamically? If so what are the 3 major steps involved in it?
  20. What is the layout for toolbar?
  21. What is the difference between Grid and Gridbaglayout?
  22. How will you add panel to a frame?
  23. Where are the card layouts used?
  24. What is the corresponding layout for card in swing?
  25. What is light weight component?
  26. Can you run the product development on all operating systems?
  27. What are the benefits if Swing over AWT?
  28. How can two threads be made to communicate with each other?
  29. What are the files generated after using IDL to java compiler?
  30. What is the protocol used by server and client?
  31. What is the functionability stubs and skeletons?
  32. What is the mapping mechanism used by java to identify IDL language?
  33. What is serializable interface?
  34. What is the use of interface?
  35. Why is java not fully objective oriented?
  36. Why does java not support multiple inheritance?
  37. What is the root class for all java classes?
  38. What is polymorphism?
  39. Suppose if we have a variable 'I' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
  40. What are virtual functions?
  41. Write down how will you create a Binary tree?
  42. What are the traverses in binary tree?
  43. Write a program for recursive traverse?
  44. What are session variable in servlets?
  45. What is client server computing?
  46. What is constructor and virtual function? Can we call a virtual function in a constructor?
  47. Why do we use oops concepts? What is its advantage?
  48. What is middleware? What is the functionality of web server?
  49. Why is java not 100% pure oops?
  50. When will you use an interface and abstract class?
  51. What is the exact difference in between Unicast and Multicast object? Where will it be used?
  52. What is the main functionality of the remote reference layer?
  53. How do you download stubs from Remote place?
  54. I want to store more than 10 objects in a remote server? Which methodology will follow?
    What is the main functionality of Prepared Statement?
  55. What is meant by Static query and Dynamic query?
  56. What are Normalization Rules? Define Normalization?
  57. What is meant by Servelet? What are the parameters of service method?
  58. What is meant by Session? Explain something about HTTP Session Class?
  59. In a container there are 5 components. I want to display all the component names, how will you do that?
  60. Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
  61. Tell some latest versions in JAVA related areas?
  62. What is meant by class loader? How many types are there? When will we use them?
  63. What is meant by flickering?
  64. What is meant by distributed application? Why are we using that in our application?
  65. What is the functionality of the stub?
  66. Explain about version control?
  67. Explain 2-tier and 3-tier architecture?
  68. What is the role of Web Server?
  69. How can we do validation of the fields in a project?
  70. What is meant by cookies? Explain the main features?
  71. Why java is considered as platform independent?
  72. What are the advantages of java over C++?
  73. How java can be connected to a database?
  74. What is thread?
  75. What is difference between Process and Thread?
  76. Does java support multiple inheritance? if not, what is the solution?
  77. What are abstract classes?
  78. What is an interface?
  79. What is the difference abstract class and interface?
  80. What are adapter classes?
  81. what is meant wrapper classes?
  82. What are JVM.JRE, J2EE, JNI?
  83. What are swing components?
  84. What do you mean by light weight and heavy weight components?
  85. What is meant by function overloading and function overriding?
  86. Does java support function overloading, pointers, structures, unions or linked lists?
    What do you mean by multithreading?
  87. What are byte codes?
  88. What are streams?

Answer to these questions:

Link1

Link2