?? onmethods.txt
字號:
Methods (Functions)
Here are some of the reasons methods are useful:
. By giving a name to a sequence of statements, you make your program easier to read and debug.
. Dividing a long program into methods allows you to separate parts of the program, debug them in isolation, and then compose them into a whole.
. Methods facilitate both recursion and iteration.
. Well-designed methods are often useful for many programs. Once you write and debug one, you can reuse it.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -