:: Home

  login:         
  passwords:  

OOP Interview Questions & FAQs


Welcome to OOP Interview Quesitons and Answers section. The OOP Interview Questions listed below have been collected through various forums, websites, blogs and other resources. We have included the references to the originators where we can but if you feel that you should be credited for a given problem please contact us.

If you have a product or service that you would like to be included in the FAQ section, please contact us at FAQs@megasolutions.net

1. OOP Interview Questions Part[1]

    1.1 Explain polymorphism? What r the types of polymorphism?
    1.2 What is the difference b/w abstract and interface?
    1.3 What is the Advantage of Interface over the Inheritance in OOPS?
    1.4 What is the difference between class and object?
    1.5 What is abstract class ? when is used in real time ?
    1.6 What is a virtual class?
    1.7 Why destructor is not over loaded?
    1.8 What is difference between overloading and overriding?
    1.9 What is the difference between new and malloc?
    1.10 Different types of castings
    1.11 What is the use of mutable key word?
    1.12 What is a copy constructor?
    1.13 What is the function of 'this' operator ?
    1.14 What is Iteration Hierarchy? What is what is Object behavioral concept?
    1.15 What is a ststic variable and stitic function?
    1.16 What is the virtual function overhead, and what is it used for ?
    1.17 What is Difference between new operator and operator new?
    1.18 What is extreme programming?
    1.19 What is Agile methodology?
    1.20 What are the different forms of polymorphism?

2. Oop Interview Questions Part[2]

    2.1 What is multi level inheritance?
    2.2 What is a mixin class?
    2.3 Difference between data encapsulation and abstraction?
    2.4 What is the difference between encapsulation and data hiding?
    2.5 Why do you need abstraction?
    2.6 What is the difference between instance and object?
    2.7 Difference between data abstraction & encapsulation?
    2.8 What is difference between void and null pointer?
    2.9 What is global constructor?
    2.10 What is the difference between implicit function & explicit function?
    2.11 What is factory class?
    2.12 How do you differentiate a constructor from a ordinary function?
    2.13 What is ASSERT STATEMENTS?
    2.14 What is stack unwidening?
    2.15 Can we inherit private members of class ?
    2.16 What is size of class having no variable & 1 function which returns int?
    2.17 Can we create a object of Base class?If we can not create a object of base class then why we need Abstract class?
    2.18 What is the similarities between macro and function?
    2.19 What do you mean by realization in oops,? what is presistent,transient object?
    2.20 What is late bound function call and early bound function call?

3. Php Interview Questions Part[3]

    3.1 What is virtual constructors/destructors?
    3.2 What is the difference between declaration and definition?
    3.3 When is a memory allocated to a class?
    3.4 What are the advantages of inheritance?
    3.5 What do you mean by pure virtual functions?
    3.6 Why do we use virtual functions?
    3.7 What is the difference between pass by reference and pass by value?
    3.8 What are generic functions and generic classes?
    3.9 What is a template?
    3.10 Difference between realloc() and free?
    3.11 When is an object created and what is its lifetime?
    3.12 What do you mean by inline function?
    3.13 What is virtual class and friend class?
    3.14 What is abstraction?
    3.15 What is a scope resolution operator?
    3.16 What is friend function?
    3.17 What is the difference between class and structure?
    3.18 What is a class?
    3.19 what is object slicing?
    3.20 Why and when is a virtual destructor needed?

4. OOP interview Questions Part[4]

    4.1 Describe what an Interface is and how it?s different from a Class
    4.2 In which Scenario you will go for Interface or Abstract Class?
    4.3 In which cases you use override and new base?
    4.4 Can we call a base class method without creating instance?
    4.5 What is meant by files?
    4.6 What is a subclass?
    4.7 What is a superclass?
    4.8 What is a constructor?
    4.9 What is a destructor?
    4.10 What is meant by Binding?
    4.11 What is meant by static binding?
    4.12 What is meant by Dynamic binding?
    4.13 Define Modularity?
    4.14 What is meant by Persistence?
    4.15 What is colloboration?
    4.16 Limitations and Restrictions of Interface?
    4.17 What is a static class?
    4.18 What is static member of class?
    4.19 What is the use of parameter array?
    4.20 What is the difference between reference parameter and output parameter?
   

Copyright 2007, Megasolutions Ltd