oop 806

  1. What is a metaclass in Python?
  2. What is the difference between @staticmethod and @classmethod in Python?
  3. Understanding Python super() with __init__() methods
  4. What is the difference between an interface and abstract class?
  5. Difference between a method and a function
  6. Prefer composition over inheritance?
  7. Why use getters and setters/accessors?
  8. What is the difference between an abstract function and a virtual function?
  9. Passing Data between View Controllers
  10. Interface vs Abstract Class (general OO)
  11. Meaning of @classmethod and @staticmethod for beginner?
  12. Does functional programming replace GoF design patterns?
  13. Why not inherit from List<T>?
  14. Naming Classes - How to avoid calling everything a “<WhatEver>Manager”?
  15. Differences between isinstance() and type() in python
  16. What is the difference between old style and new style classes in Python?
  17. What is the difference between public, private, and protected?
  18. Examples of GoF Design Patterns in Java's core libraries
  19. Interface vs Base class
  20. What is a mixin, and why are they useful?
  21. What does it mean to “program to an interface”?
  22. When should you use a class vs a struct in C++?
  23. What techniques can be used to define a class in JavaScript, and what are their trade-offs?
  24. Functional programming vs Object Oriented programming
  25. What is an example of the Liskov Substitution Principle?
  26. Interview: Can we instantiate abstract class?
  27. Monad in plain English? (For the OOP programmer with no FP background)
  28. How should a model be structured in MVC?
  29. Python __init__ and self what do they do?
  30. Adding a Method to an Existing Object Instance
  31. JavaScript: Class.method vs. Class.prototype.method
  32. How to get a JavaScript object's class?
  33. What is the difference between class and instance methods?
  34. How to call a parent class function from derived class function?
  35. Use of .apply() with 'new' operator. Is this possible?
  36. What is polymorphism, what is it for, and how is it used?
  37. Can you write object-oriented code in C?
  38. Why Doesn't C# Allow Static Methods to Implement an Interface?
  39. Constructors in JavaScript objects
  40. JavaScript private methods
  41. What are the differences between struct and class in C++?
  42. What does 'super' do in Python?
  43. Should we @Override an interface's method implementation?
  44. What does the 'static' keyword do in a class?
  45. How should I have explained the difference between an Interface and an Abstract class?
  46. When to use an interface instead of an abstract class and vice versa?
  47. Use of alloc init instead of new
  48. When should you use 'friend' in C++?
  49. What's wrong with overridable method calls in constructors?
  50. Polymorphism vs Overriding vs Overloading