Sunday, April 12, 2020

Construct Method in Ax 2012

class ClassTest
{

}




public void show()
{
    info("Atul");
}




public static ClassTest construct()
{
    return new ClassTest();
}




public static void main(Args _args)
{
    ClassTest obj = ClassTest::construct();
    obj.show();
}