Most frequently asked oops interview questions

Posted by Unknown
Most frequently asked oops interview questions

                   In this post am going tell you about most frequently asked oops interview questions,In previous post i have explained  Most frequently asked interview questions in mvc Please read below about Oops questions


  1. What is object-oriented programming (OOP)?
  2. What is class? Give a real life example
  3. What is an object? Give a real life example.
  4. Explain the basic features of OOPs
  5. What is the relationship between a class and an object?
  6. What is difference between OOP and procedural Language?
  7. What is encapsulation? Why encapsulation is necessary, explain with example?
  8. Tell about access modifier
  9. What is value type and reference type, explain with example?
  10. What is polymorphism, explain with example?
  11. What is run time polymorphism, explain with example?
  12. How is method overriding different from method overloading?
  13. What is inheritance, explain with example?
  14. What is interface? Why interface is used?
  15. What is abstract class? Why abstract class is used?
  16. What is static member? Why static member? How static member is accessed?
  17. Can you specify the accessibility modifier for methods inside the interface?
  18. What is constructor? Why constructor is used?
  19. What is constructor overloading?
  20. Is it possible for a class to inherit the constructor of its base class?
  21. What is the difference between arrays and collection?
  22. What are collections and generics?
  23. How can you prevent your class to be inherited further?
  24. What is the index value of the first element in an array?


Hope this will helpful
Labels:

Post a Comment

 
test