Created
September 18, 2024 05:48
-
-
Save gyugyu90/4855c8616a0bbc7837f43a31d0401196 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
void main() { | |
final int age = 25; | |
// age = 30; // 이렇게 변경하려고 하면 오류 발생! | |
final now = DateTime.now(); // 실행 중에 현재 시간을 할당할 수 있음 | |
print(now); // 프로그램 실행 시점의 시간 출력 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment