mention any two attributes required for class declaration also give one example???
Answers
Answered by
8
Answer:
class keyword open({) and close(}) flower brackets and semi colon( : )
Explanation:
syntax of class declarations is shown below:
class class_name
{
data member;
member functions( );
};
legendghost:
are u sure
Answered by
7
Answer:
1) access specifier
2) class name
Explanation:
example 1) private , default , protected , public
2) class car , class employees etc.
.
.
.
hope it helps you
if so then please mark as brainly ans ☺️☺️
Similar questions
Math,
6 months ago
Computer Science,
6 months ago
Math,
11 months ago
Science,
11 months ago
Geography,
1 year ago