Thursday, October 21, 2010

JAVA (assignment-3 by CSP sir)

  1. Explain inner class.
  2. Explain static and final keyword with example.
  3. Explain command line argument and write a program that take 10 number from command line argument and display maximum number.
  4. What is recursion ? Explain with example.
  5. Explain function overloading with suitable example.
  6. Explain following string function
    1.  toString()
    2. insert()
    3. getChars()
    4. indexOf()
  7. Explain following string methods with example
    1. length()
    2. charAt()
    3. compareTo()
    4. concate()
    5. trim()

No comments:

Post a Comment