Thursday, October 21, 2010

JAVA (assignment-1 by MJP ma`am)

  1. Write a Java program to find whether the given number is prime or not.(SOLUTION)
  2. Explain garbage collection and finalize method.
  3. Explain shift operator with example.
  4. How the super class constructor is invoked with example .
  5. Explain method overriding with suitable example.
  6. Explain abstract class.
  7. What is package? explain how to create package.

No comments:

Post a Comment