3 class Maman
.Foo
: Object
{
4 public int p1
{ get; set; }
5 public int p2
{ get; set; }
7 public Foo (int i
, int p2
) {
12 public static int main () {
13 stdout
.printf ("Construct Formal Parameter Test: 1");
15 var foo
= new
Foo (2, 3);
18 stdout
.printf (" %d", foo
.p2
);
19 stdout
.printf (" %d", foo
.p1
);
21 stdout
.printf (" 5\n");