March 6, 2008

JAVA Interview Questions - 2

  1. * Can a lock be acquired on a class?
  2. * What happens when you invoke a thread's interrupt method while it is sleeping or waiting?
  3. * What is static variable?
  4. * What is Singleton class?
  5. * What is the middleware? What is the functionality of Web server?
  6. * What is the difference in between C++ and Java? Can u explain in detail?
  7. * What value does readLine() return when it has reached the end of a file?
  8. * What is the command pattern? Where it is used?
  9. * Can a Byte object be cast to a double value?
  10. * What happens when a thread cannot acquire a lock on an object?
  11. * What is typecasting?
  12. * What is JVM?
  13. * What is JNI?
  14. * Can a for statement loop indefinitely?
  15. * What is the difference between a Window and a Frame?
  16. * Are true and false keywords?
  17. * What is final method?
  18. * What is JAR file?
  19. * What is the difference between Hash map and Hash table?

No comments:

Post a Comment