#include <iostream> using namespace std; class base { private:int x; public:base(int a){x=a;} int get( ){return x;} void showbase( ) {cout<<"x="<<x<<endl;} }; class Derived:public base