There are several reasons for a method not to have a method body:

Noncompliant Code Example

ClassMethod foo() As %String
{
}

ClassMethod bar() As %String
{
}

Compliant Solution

ClassMethod foo() As %String
{
    Quit "Hello"
}

ClassMethod bar() As %String
{
    // We need to do something here
}