FeedBack Form

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

OOPs INTERVIEW QUESTION & ANSWERS

11. What is difference between abstract classes and interfaces?
 
  • Abstract classes can have concrete methods while interfaces have no methods implemented.
  • Interfaces do not come in inheriting chain, while abstract classes come in inheritance.
Your Name Your Email-ID
Your Answer
 
12. What is modular programming?
  Modular programming tightly couples data and procedures for manipulating that data into units known as modules. Modules hide a program’s inner workings and data representation. However, most modular languages still allow you to use those modules in a procedural environment.
Your Name Your Email-ID
Your Answer
 
13. What is Indexer?
  An indexer is a member that enables an object to be indexed in the same way as an array.
Your Name Your Email-ID
Your Answer
 
14. What are the difference between Structure and Class?
 
  • Structures are value type and Classes are reference type
  • Structures can not have constructors or destructors.
  • Classes can have both constructors and destructors.
  • Structures do not support Inheritance, while Classes support Inheritance.
  Posted by Ajay. (Dec 24, 2013)
 

Structure is a public access and class is a private access.

Your Name Your Email-ID
Your Answer
 
15. What is Polymorphism?
  Mean by more than one form. Ability to provide different implementation based on different number/type of parameters.
  Posted by Priyesh Kumar. (May 06, 2014)
 

More than one Behavior ability... means capcity(ability) of perform task is more than one...

Your Name Your Email-ID
Your Answer