Computer Science, asked by Kenaz, 6 months ago

Write a program in C++ to print “C++ is an Object Oriented Programming Language”.​

Answers

Answered by aaratinarnawar2007
1

Answer:

Everything in C++ is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake.

Attributes and methods are basically variables and functions that belongs to the class. These are often referred to as "class members".

A class is a user-defined data type that we can use in our program, and it works as an object constructor, or a "blueprint" for creating objects.

Answered by anum0861
2

Answer:

hope its help

Explanation:

Everything in C++ is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake.

Attributes and methods are basically variables and functions that belongs to the class. These are often referred to as "class members".

A class is a user-defined data type that we can use in our program, and it works as an object constructor, or a "blueprint" for creating objects.


Kenaz: thanks for the info I ask extra questions because my part of studying is boring ..so...
anum0861: okay
Kenaz: :) bbye
anum0861: bye
Similar questions