dev/vala/hello/hello_oop.vala

17 lines
301 B
Vala
Raw Normal View History

2012-09-26 19:45:46 +04:00
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;
}
}