Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,18 +0,0 @@
|
|||
class Point {
|
||||
[Int]$a
|
||||
[Int]$b
|
||||
Point() {
|
||||
$this.a = 0
|
||||
$this.b = 0
|
||||
}
|
||||
Point([Int]$a, [Int]$b) {
|
||||
$this.a = $a
|
||||
$this.b = $b
|
||||
}
|
||||
[Int]add() {return $this.a + $this.b}
|
||||
[Int]mul() {return $this.a * $this.b}
|
||||
}
|
||||
$p1 = [Point]::new()
|
||||
$p2 = [Point]::new(3,2)
|
||||
$p1.add()
|
||||
$p2.mul()
|
||||
Loading…
Add table
Add a link
Reference in a new issue