Thursday, October 21, 2010

JAVA (assignment-2 by MJP ma`am)

  1. What is synchronization.explain with suitable example.
  2. Explain various form of implementing interface.
  3. Explain following thread methods
    1.  sleep()
    2.  wait()
    3. resume()
    4. notify()
    5. stop()
  4. Define Exception . What is the purpose of exception handling mechanism . Explain try and catch block with suitable example.
  5. Define multi threading . how a new thread is created . Explain the life cycle of thread.
  6. Write short notes:
    1. Interthread communication
    2. Difference: Interface & Class
  7. Write a program which illustrate the use of NumberFormateException. (SOLUTION)
  8. Describe the various stages of the life cycle of an Applet.

No comments:

Post a Comment