Computer Science, asked by jaswanthking18, 8 months ago

Define a class Shape which contains the following abstract methods

edges(): int

vertices(): int

faces(): int

Answers

Answered by nidaeamann
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