You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
271 B
17 lines
271 B
// input: []
|
|
// output: 121
|
|
|
|
package {
|
|
public class ClassCall {
|
|
public static function main():int{
|
|
var f:OtherClass = new OtherClass();
|
|
return f.func(100,20);
|
|
}
|
|
}
|
|
}
|
|
|
|
class OtherClass {
|
|
public function func(x: int, y: int):int {
|
|
return x+y+1;
|
|
}
|
|
}
|