FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

OOPs INTERVIEW QUESTION & ANSWERS

46. What is the difference between Array and Arraylist?
  An array is a collection of the same type. The size of the array is fixed in its declaration. A linked list is similar to an array but it doesn't have a limited size.
Your Name Your Email-ID
Your Answer
 
47. What is Jagged Arrays?
  A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an array-of-arrays.
Your Name Your Email-ID
Your Answer
 
48. What is the difference between an Array and a List?
  The main difference between an array and a list is how they internally store the data. whereas Array is collection of homogeneous elements. List is collection of heterogeneous elements.
Your Name Your Email-ID
Your Answer
 
49. What is virtual function?
  A virtual function is a member function that is declared within a base class and redefined by a derived class .To create a virtual function, the function declaration in the base class is preceded by the keyword virtual.
Your Name Your Email-ID
Your Answer
 
50. What are the different ways a method can be overloaded?
 
    A method can be overloaded :
  • By varying the numbers of parameters
  • By using different data types for the parameters
  • By using different sequence of the parameters.
Your Name Your Email-ID
Your Answer