Bjarne Stroustrup
Who invented C++?
_________ is a function defined as wrapping up of data.
Define the term Encapsulation
Class Classname
{
Statements....
}
Write syntax for creating a Class
_________ is a keyword that refers to current instance of the class.
"This" Keyword
__________is a user-defined data type which hold its data members.
What is Class?
________ is the capability of acquiring properties of another class
Inheritance
Classname objname;
Write Syntax for creating an Object
________variable are declared outside any function.
Global
The variables defined inside the class will have_____ scope.
Class Scope
_________ is the process which display important information and hiding detail
Abstraction
ClassName()
Syntax for Constructor
_______ : variables can be accessed within a particular scope.
Local
____________ programmers specify general code
Generic Programming
__________ is a space where we can define and declare identifiers
Namespace
~classname()
Syntax for Destructor
_______ class can access private & protected members of other classes.
Friend class
_______________ is used to access identifiers such as variable names, function names.
Scope resolution operator
________ is special method that is invoked automatically at the time of object creation.
Constructor
#include <iostream>
int main() {
std::cout << "Welcome to CSBS";
return 0;
}
ScopeResolutionOperator
Public members can be accessed by a _____ operator.
dot Operator