Java Interview Question asked to me on several interviews


  1. What is the difference between SOAP and REST web services and which is better ? and Why?
  2. What do you mean by asymtotic notations? Explain the types and describe complexity during insertion, deletion and update of ArrayList.
  3. What is Join in sql? Explain the types of Join. When left join is used?
  4. What is the difference between Algorithm, Psudo code and Flow chart?
  5. Implement Factory pattern in Java.
  6. What is Recursion? Write java code to print number from 1-10.
  7. What is Reflection? When it is applicable?
  8. What is the difference between Interface and Abstraction?
  9. What is Lamda expression? Explain the application of it.
  10. Difference between Interface, FunctionalInterface and Abstraction?
  11. Explain keywords static, final and finally. 
  12. What is difference between Exception and Error?
  13. Is Javascript is Object Oriented Programming language?
  14. What is the difference between Javascript Object and JSON?
  15. What is connection pooling?
  16. Explain about Hibernate with its applications?
  17. Write the syntax of Jquery?
  18. What are the properties of Java?
  19. How Java is platform independent programming language?
  20. Write Java code to determine the prime numbers?
  21. What is access specifier? Explain private access modifier. How to access private method outside of the package, class?
  22. What is dependency injection in spring framework?
  23. What is scope?
  24. Give an example explaining about OneToOne, OneToMany and ManyToMany entity mapping.
  25. What is collection in Java? Differentiate ArrayList and LinkedList.
  26. What is Polymorphism?
  27. What is unit testing? How to implement it?
  28. Explain SDLC.
  29. Explain Agile Methodology.
  30. Describe about Design Patterns used in java?
  31. What is MVC Design pattern?
  32. When singleton design pattern used?
  33. What is strategy design pattern?
  34. What is Activemq? Explain about the working principle of Activemq.
  35. What is Functional Programming? When it is used?
  36. What is serialization?
  37. What is transient variable? When it is used?
  38. What is Docker? What are the applications of it?
  39. What is box model in CSS?
  40. What does xmlns mean in HTML?

Comments

Popular posts from this blog

Centos