// exercise on object syntax class example { public: Example(int); int func1(); int var1; private: int var2; int func2(); }; int main () { example ob1; // is this legal? example ob2(1); // is this legal? example ob3(); // what is this? ob1.var1 = 1; // is this legal? ob1.var1 = .23E-1;// is this legal? ob2.var2 = 1; // is this legal? int i=ob1.func1() // is this legal? int j=ob2.func2() // is this legal? }