FeedBack Form

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

C#.NET INTERVIEW QUESTION & ANSWERS

56. What is the difference between objects and class?
 
  • Class defines all of the attributes and behaviors common to a group of objects. You use this class definition to create instances of those objects.
  • An object is an instance of a class
Your Name Your Email-ID
Your Answer
 
57. What is nested classes?
  Nested classes are classes with in classes.
Your Name Your Email-ID
Your Answer
 
58. Define Boxing?
  Boxing is the process of creating an instance of the reference type object and assigning the value of a value type to the object as well as storing information on the value's data type.
  Posted by Deepali Gavhane. (Apr 14, 2014 )
 

Boxing is process of converting Value type object to reference type object. Value types store on stack.

Your Name Your Email-ID
Your Answer
 
59. Can you prevent your class from being inherited by another class?
  Yes. The keyword "sealed" will prevent the class from being inherited.
  Posted by Sunil. (Feb 13, 2014)
 

by making the constructor private this can be done.

Your Name Your Email-ID
Your Answer
 
60. Which method is used to display a form?
  The Show() method
Your Name Your Email-ID
Your Answer