mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
18 lines
271 B
ActionScript
18 lines
271 B
ActionScript
|
// 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;
|
||
|
}
|
||
|
}
|