Java Networking and Algorithms Interview Questions

  1. What is the protocol used by server and client ?
  2. Can I modify an object in CORBA ?
  3. What is the functionality stubs and skeletons ?

  4. What is the mapping mechanism used by Java to identify IDL language ?
  5. Diff between Application and Applet ?
  6. What is serializable Interface ?
  7. What is the difference between CGI and Servlet ?
  8. What is the use of Interface ?
  9. Why Java is not fully objective oriented ?
  10. Why does not support multiple Inheritance ?
  11. What it the root class for all Java classes ?
  12. What is polymorphism ?
  13. Suppose If we have 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 ?
  14. In servlets, we are having a web page that is invoking servlets username and password ? which is checked in the 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?
  15. What are virtual functions ?
  16. Write down how will you create a binary Tree ?
  17. What are the traverses in Binary Tree ?
  18. Write a program for recursive Traverse ?
  19. What are session variable in Servlets ?
  20. What is client server computing ?
  21. What is Constructor and Virtual function? Can we call Virtual function in a constructor ?
  22. Why we use OOPS concepts? What is its advantage ?
  23. What is the middleware ? What is the functionality of Webserver ?
  24. Why Java is not 100 % pure OOPS ? ( EcomServer )
  25. When we will use an Interface and Abstract class ?
  26. What is an RMI?
  27. How will you pass parameters in RMI ? Why u serialize?
  28. What is the exact difference in between Unicast and Multicast object ? Where we will use ?
  29. What is the main functionality of the Remote Reference Layer ?
  30. How do you download stubs from a Remote place ?
  31. What is the difference in between C++ and Java ? can u explain in detail ?
  32. I want to store more than 10 objects in a remote server ? Which methodology will follow ?
  33. What is the main functionality of the Prepared Statement ?
  34. What is meant by static query and dynamic query ?
  35. What are the Normalization Rules ? Define the Normalization ?
  36. What is meant by Servlet? What are the parameters of the service method ?
  37. What is meant by Session ? Tell me something about HTTPSession Class ?
  38. How do you invoke a Servlet? What is the difference in between doPost and doGet methods ?
  39. What is the difference in between the HTTPServlet and Generic Servlet ? Explain their methods ? Tell me their parameter names also ?
  40. Have you used threads in Servlet ?
  41. Write a program on RMI and JDBC using StoredProcedure ?
  42. How do you sing an Applet ?
  43. In a Container there are 5 components. I want to display the all the components names, how will you do that one ?
  44. Why there are some null interface in java ? What does it mean ? Give me some null interfaces in JAVA ?
  45. Tell me the latest versions in JAVA related areas ?
  46. What is meant by class loader ? How many types are there? When will we use them ?
  47. How do you load an Image in a Servlet ?
  48. What is meant by flickering ?
  49. What is meant by distributed Application ? Why we are using that in our applications ?
  50. What is the functionality of the stub ?
  51. Have you used any version control ?
  52. What is the latest version of JDBC ? What are the new features are added in that ?
  53. Explain 2 tier and 3 -tier Architecture ?
  54. What is the role of the webserver ?
  55. How have you done validation of the fields in your project ?
  56. What is the main difficulties that you are faced in your project ?
  57. What is meant by cookies ? Explain ?