<=Back
Study the following C++ program segment and answer the questions that follows.
#include<iostream>
using namespace std;
class myclass{
int a;
public:
void set_a(int i){a=i;}
};
Interpret the program segment clearly outlining the access specifier used. (3 marks)
 Viewed: 717 times
Share in: