0% found this document useful (0 votes)
11 views

OOP - Coding Interviews

Uploaded by

Jahanzaib Iqbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

OOP - Coding Interviews

Uploaded by

Jahanzaib Iqbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Object Oriented Programming

Basic

● What is the basic difference between functional programming and OOP? Why we
should prefer OOP
● What is class and object
● What are the four pillars of object-oriented programming?
● What is inheritance, explain with its types

Medium

● Explain Polymorphism with types


● What is late and early binding
● In this room, can you give any practical example of polymorphism
● What is operator overloading
● Explain the difference between public, private and protected access specifiers
● Explain the difference between abstraction and encapsulation

Hard

● Struct is a value type and class is a reference type, what is actually means
● How to access the private member of a class outside class (friend function)
● Explain the difference between association and composition
● What is virtual function and pure virtual function
● What is interface
● Explain any practical use case of abstraction
● What is diamond problem in OOP

You might also like