C++ Interview Questions and Answers for Experienced - 1

Question: 1

What is C++?

C++ is an object oriented programming language created by Bjarne Stroustrup.

C++ maintains almost all aspects of the C language, while simplifying memory management and adding several features – including a new data type known as a class to allow object oriented programming.

C++ maintains the features of C which allowed for low level access but also gives the programmer new tools to simplify memory management.

Question: 2

What is Object Oriented Programming?

 Object Oriented Programming (OOP) is a programming paradigm where the complete software operates as a bunch of objects talking to each other.

An object is a collection of data and methods that operate on its data.

Question: 3

What are the main features of OOP?

The main features of OOP:




Question: 4

What are advantages of OOP?

The main advantage of OOP is better manageable code that covers following

The overall understanding of the software is increases as the distance between the language spoken by developers and that spoken by users.

Object orientation eases maintenance by the use of encapsulation.

One can easily change the underlying representation by keeping the methods same.

OOP paradigm is mainly useful for relatively big software.

Question: 5

What do you mean by inheritance?

Inheritance is the process of creating new classes, called derived classes, from existing classes or base classes.

The derived class inherits all the capabilities of the base class, but can add embellishments and refinements of its own.

Error Report!

Related Questions
Recent Articles
Trending Posts