Home / MCQ Bank / Computer
Computer Miscellaneous In C Sharp Difficulty: Medium

Which of these access specifiers must be used for class so that it can be inherited by another subclass?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> using namespace std; class sample { public: sample(int i) : m_i(i) { } public: int operator()(int i = 0) const { return m_i + i; } operator int () const { return m_i; } private: int m_i; friend int g(const sample&); }; int f(char c) { return c; } int main() { sample f(2); cout << f(2); return 0; } In LINQ, what does the Skip operator do? Which of the following is not the Section Break Option in Ms Word? What is the significance of the initialize method in Ruby classes? Which of the following options tells mysql to ask for entering the password?