Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
13
Task/Call-an-object-method/Haxe/call-an-object-method.hx
Normal file
13
Task/Call-an-object-method/Haxe/call-an-object-method.hx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class ExampleClass {
|
||||
public function exampleMethod() {
|
||||
return "This is a method!";
|
||||
}
|
||||
public function new() {}
|
||||
}
|
||||
|
||||
class Main {
|
||||
static public function main():Void {
|
||||
var exampleObject = new ExampleClass();
|
||||
trace(exampleObject.exampleMethod());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue