fork download
  1. public class MyClass {
  2. public static void displayMe(String a, Integer b, String c) {
  3. System.debug(b);
  4. System.debug(a);
  5. }
  6. }
  7.  
  8. // To call the method:
  9. MyClass.displayMe('arjun', 3, 'test');
Success #stdin #stdout #stderr 0.01s 8980KB
stdin
Standard input is empty
stdout
Object: UndefinedObject error: did not understand #MyClass
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
UndefinedObject class(Object)>>doesNotUnderstand: #MyClass (SysExcept.st:1448)
UndefinedObject>>executeStatements (prog:1)
stderr
./prog:2: parse error, expected '}'