[Vala] how to call the base class constructor



re-Hello

I have this

public class Base {
        string name;

        public Base(string name) {
                this.name = name;
        }
}

then

public class Child {
        public Child(string name) {
                /* how to call the Base class constructor */
                Base(name)
        }
}

so how can I call the base constructor and more generaly a Base class
method ?

Thanks

Frederic



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]