dev/vala/hello/hello_oop.vala

17 lines
301 B
Vala

using GLib;
class Sample : Object
{
void run ()
{
stdout.printf ("Hello World\n");
}
static int main (string[] args)
{
var sample = new Sample ();
sample.run ();
return 0;
}
}