FeedBack Form

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

OOPs INTERVIEW QUESTION & ANSWERS

21. What is the use of Internal keyword?
  Internal keyword is one of the access specifier available in .Net framework , that makes a type visible in a given assembly.
Your Name Your Email-ID
Your Answer
 
22. What is the difference between Object and Instance?
  An instance of a user-defined type is called an object. We can instantiate many objects from one class. An object is an instance of a class.
Your Name Your Email-ID
Your Answer
 
23. What is this?
  this is a reference that each instance has to itself. The this reference gives the instance access to its internal variables and behaviors.
  Posted by Aswini Aluri. (Nov 20, 2013)
 

this keyword is used to make current instance of class

Your Name Your Email-ID
Your Answer
 
24. What is Overloading?
  A process of creating different implementation of a method having a same name as base class, in a derived class. It implements Inheritance.
Your Name Your Email-ID
Your Answer
 
25. Define destuctors?
  A destructor is called for a class object when that object passes out of scope or is explicitly deleted.A destructors as the name implies is used to destroy the objects that have been created by a constructors.Like a constructor , the destructor is a member function whose name is the same as the class name but is precided by a tilde.
Your Name Your Email-ID
Your Answer