Commit 41a6211e authored by Hans Buchmann's avatar Hans Buchmann

exercise 1.1 third case

parent f21ed2eb
......@@ -90,10 +90,12 @@ Java
*/
int main(int argc,char**args)
{
Point p(1,1); //constructor
{
Point p(1,1); //constructor
} //destructor of p
Point q(2,2); //constructor
Point r(3,3);//constructor
Point q(2,2); //constructor
{
Point r(3,3);//constructor
}//destructor r
}//destructor q
return 0;
}
} //destructor p
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment