Monday, 6 August 2012

Theory Assignment - 2

Smt. R.O.Patel Women’s MCA College, Morbi
MCA 2012-13
Subject Name: Fundamentals of Java Programming (Java) - 630002                 
MCA Semester: 3                                                Submission Date: ##/###/####
_____________________________________________________________________________________
Assignment-2

  1. What are the access specifiers available in java? Explain each of them. State which of these can be applied to a class and which can be applied to a member of a package.
  2. What is method overloading and overriding in java? Explain with example.
  3. What is interface? Explain with example.
  4. Explain -classpath and –d option of javac with example.
  5. What is String Buffer? Explain any 5 methods of String Buffer Class with syntax and example.
  6. What is pass by value and pass by reference in java? Explain with example.
  7. What are wrapper classes? Explain all in detail.
  8. Explain Comparable and Comparator interfaces.
  9. What is Exception handling? Explain types of exception available in java?
  10. Explain following keywords in detail. 
    1. abstract
    2. final
    3. super 
    4. this
    5. try
    6. catch
    7. throw
    8. throws
    9. finally       
 

No comments:

Post a Comment

Total Pageviews

Search This Blog

Write a program which performs the following operations using a simple queue. : insert() -> delete() -> display()

Write a program which performs the following operations using a simple queue. : insert() -> delete() -> display() ...