August 1, 2007

J2EE Interview Questions - 2

  1. Can you invoke the methods on a Thread once it is stopped?
  2. Can we serialize the static members?
  3. Is there a separate stack for each thread in Java
  4. Can the main() method be overloaded? or overrided? and what happens when we do so?
  5. Whether we can set the time implicitly for the garbage collection?
  6. Can an exception be rethrown?
  7. Can a lock be acquired on a class?
  8. Can a for statement loop indefinitely?
  9. Can a double value be cast to a byte?
  10. Can we serialize the static variable?
  11. Can I create final executable from Java?
  12. Does JVM maintain a cache by itself? Does the JVM allocate objects in heap? Is this the OS heapor the heap maintained by the JVM? Why
  13. Can we send object using Sockets
  14. Can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program?
  15. Can i limit the initial capacity of vector in java?
  16. What are wrapper classes?
  17. IS String is a wrapperclass? explain wrapper class
  18. What are wrapped classes?
  19. What are wrapped classes?
  20. What are the problems faced by Java programmers who don't use layout managers?

No comments:

Post a Comment