Top OOPS Interview Questions :: ALLInterview.com http://www.allinterview.com Top OOPS Interview Questions en-us what is the main difference between c and c++? http://www.allinterview.com/showanswers/33052.html c is not object oriented but c++ is object oriented What are the OOPS concepts? http://www.allinterview.com/showanswers/4881.html 1) Encapsulation: It is the mechanism that binds together code and data in manipulates, and keeps both safe from outside interference and misuse. In short it isolates a particular code and data from all other codes and data. A well-defined in What is Agile methodology? http://www.allinterview.com/showanswers/35480.html it is used for software development, including XP (Extreme Programming), and it advocates iterator development Tell us about yourself. http://www.allinterview.com/showanswers/16896.html Hi I am Rajagopal. I have done my M.A English Literature. I have ample amount of computer knowledge bound with good communication skills. I have good typing skills too. Well coming to my experience I have experienced as a copy editor in an e what is object slicing? http://www.allinterview.com/showanswers/11050.html When an base class is assinged to its derived class the base class takes up only the base member data leaving the data members of derived class.this is called... What is OOPS and How it is different from Procedural Programming ? http://www.allinterview.com/showanswers/233.html OOPS means Object Oriented Programming Languages and Systems and is different from the Structural programming in the fact that in OOPS programming you take advantage of Polymorphism, Multiple inheritance and Abstraction and Encapsulation of t Name an advantage of array over linked list? http://www.allinterview.com/showanswers/16892.html Array size is fixed.But Linked is not fixed What is the difference between and interface and an abstract class ? http://www.allinterview.com/showanswers/16635.html What is an Interface? An interface is a contract, a specification that concrete classes MUST follow. It defines method signatures but cannot have any implementations; the latter must be provided by the classes that implement the interface. what is multi level inheritance give n example ? http://www.allinterview.com/showanswers/16638.html The best example is Say we have 3 class ClassA,ClassB and ClassC. ClassB is derived from ClassA and ClassC is derived ClassB this is multi level inheritance.. ClassA ^ | | ClassB ^ features of OOPS http://www.allinterview.com/showanswers/16637.html 1. Encapsulation: Binding of Code and data together in a single entity 2. Polymorphism: One name many properties (funtion Overloading) 3. Inheritance:Acquiring properties of one object to another what is virtual function? http://www.allinterview.com/showanswers/28187.html The virtual keyword means that method,property or function can be overridden Can we have a private constructor ? http://www.allinterview.com/showanswers/16639.html yes and if a constructor is made private/protected...then that class cannot be inherited What is polymorphism? Explain with an example. http://www.allinterview.com/showanswers/13825.html polymorphism is one of the pillars of oops. polymorphism in latin word which describes 'poly' means many 'morphs' means forms. polymorphism has concept like function overloading... Describe the difference between a Thread and a Process? http://www.allinterview.com/showanswers/6719.html We can have multiple threads in a single process.Thus we can say threads are working units of a process. What is virtual class and friend class? http://www.allinterview.com/showanswers/13829.html frien class are used when two or more classes are designed to work together and virtual base class aids in multiple inheritance