Interview questions

JAVA interview questions – page 22

2,804 questions. Tap “Show answer” to check yourself.

  1. Replacing Characters in a String?

  2. Why java is not pure object oriented language?

  3. What is the default transaction attribute in transactions

  4. Who makes the EJBObject class?

  5. Can I just abort processing a JSP?

  6. What are the flow statements of JDBC?

  7. Given the following files, write the client codes to locate/create/invoke asessionBean in order to get the company name by using getCompanyName().File:companyHome.javacompanyRemote.javacompanyBean.java- getCompanyName()JNDI Name: ejb/company

  8. What is a string Handling? How to use it? what is difference b/w Event handling?

  9. What is parent class of Hashtable?

  10. Why we need the transactions?

  11. What are the actual functions of JVM?

  12. What are batch updates

  13. Write the JSP command which includes sub_page.jsp and passing inparameters as below:Parameter: ?age? Value: ?33? Parameter: ?place? Value: ?petaling jaya?

  14. What is business delicate Use and session faced use?

  15. What are the alternatives to using applets?

  16. What are the steps involved in establishing a connection?

  17. What are native methods? How do you use them?

  18. What is super class of an Exception class?

  19. How to invoke the primitive types within object in arraylist?

  20. When we use abstract class and interface ?

  21. What is Entity Bean. What are the various types of Entity Bean?

  22. What is the diff between interface and abstract class?

  23. How to insert new row and link like Edit and Delete

  24. How to create Container Managed Persistance program in EJB and tell me the procedure to deploy in Weblogic server.

  25. Difference between single thread and multi thread model servlet

  26. What is hibernate, where to use the hibernate and advantages of hibernate?

  27. For a 25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,(a)120 nano secs(b)120 micro secs(c)75 nano secs(d)75 micro secs

  28. What are advantages and disadvantages of CMP and BMP

  29. What is the main difference between access modifiers and access specifiers?

  30. How can we work struts on Eclipse? What is the best plugin for this?

Companies that ask JAVA questions