Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 2 (Q.No. 50)
50.
You separate a derived class name from its access specifier with
a colon
two colons
at least one space
a semicolon
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Ayesha said:   5 years ago
Derived class.

class Rectangle: public Shape
{
public:
int getArea()
{
return (width * height);
}
};

Post your comments here:

Your comments will be displayed after verification.