S
sara
Hi,
Assume we have a class called A. Assume it has a constructor which
takes an integer as its input. What is the difference between these
two instantiations?
A a(1);
and
A a=new A(1);
Thanks.
Sara
Assume we have a class called A. Assume it has a constructor which
takes an integer as its input. What is the difference between these
two instantiations?
A a(1);
and
A a=new A(1);
Thanks.
Sara