Tuesday, 28 March 2017

45 Best Free OOPS Interview Questions and Answers

OOPs Interview Questions and Answers

  1. What is Object Oriented Programming?
  2. What’s the difference between abstraction and encapsulation?
  3. How can we implement dynamic polymorphism?
  4. What are abstract methods?
  5. What is difference between abstract classes and interfaces?
  6. How can we create a delegate?
  7. Do events have return type?
  8. What is the difference between Shadowing and Overriding?
  9. What are similarities between Class and structure?
  10. What is ENUM?
  11. Can we have different access modifiers on get/set methods of a property?
  12. What is a Class and object?
  13. How is inheritance implemented in .NET?
  14. What is the difference overriding and overloading?
  15. What is an Interface?
  16. An abstract with only abstract method, how is it different from interfaces?
  17. What is a multicast delegate?
  18. Can events have access modifiers?
  19. If we inherit a class do the private variables also get inherited?
  20. What is the difference between Class and structure’s?
  21. What is nested Classes?
  22. Will the finally run in this code?
  23. What are different properties provided by Object-oriented systems?
  24. What are the two different types of polymorphism?
  25. What is operator overloading?
  26. Do interface have accessibility modifier ?.
  27. If we want to update interface with new methods, what is the best practice?
  28. What are Events?
  29. Can we have shared events?
  30. How can we stop the class from further inheriting?
  31. What does virtual keyword mean?
  32. If you create the child class object which constructor will fire first?
  33. What is Indexer?
  34. How can we implement encapsulation in .NET?
  35. How can we implement static polymorphism?
  36. What are abstract classes?
  37. Can we create an object of abstract class or an interface?
  38. What is a delegate?
  39. What is the difference between delegate and events?
  40. What is shadowing?
  41. What is the use of “Must inherit” keyword in VB.NET?
  42. What are shared (VB.NET)/Static(C#) variables?
  43. In what instances you will declare a constructor to be private?
  44. Can we have static indexer in C#?

No comments:

Post a Comment

Note: only a member of this blog may post a comment.