CPP > Beginner

What could be the practical use of the following class?

class MyClass
{
    private:
        void method(int i)
        {
            cout<< count * i;            
        }
    private:
        int count = 2;
};
Answers :
Time Left
Question Number : /20
Please do not press back or refresh button during this test.

Login

Register

Next Question