fork download
  1. public class FirstClass {
  2. public static void myMethod(){
  3. integer a;
  4. a=5;
  5. System.debug(a);
  6. }
  7. }
Success #stdin #stdout #stderr 0.01s 8992KB
stdin
Standard input is empty
stdout
Object: UndefinedObject error: did not understand #FirstClass
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
UndefinedObject class(Object)>>doesNotUnderstand: #FirstClass (SysExcept.st:1448)
UndefinedObject>>executeStatements (prog:1)
stderr
./prog:2: parse error, expected '}'