Define a class Shape which contains the following abstract methods
edges(): int
vertices(): int
faces(): int
Answers
Answered by
0
Explanation:
In computer programming languages, a class is a customised or user defined data type, containing more than one data types each linked to the same class. Normally it is used to keep when there are multiple data types that belong to a similar data set
For the given case, we can define a class in c language as;
class methods
{
int edges;
int vertices;
int faces;
}
Find more relevant data;
What is class in c++ and all types of classes?
https://brainly.in/question/1731487
Similar questions
Psychology,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
Math,
11 months ago
Social Sciences,
1 year ago
English,
1 year ago