-
-
Save MarcinusX/cdf5b7e59112d48f5549880d5b76d20f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Point { | |
int x, y; | |
} | |
//Można tak: | |
Point point = Point(); | |
point.x = 1; | |
point.y = 2; | |
//Ale można też tak: | |
Point point = Point() | |
..x = 1 | |
..y = 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment