The Knowledge Of Sauron's Minions
From Huben's Wiki
Line 27: | Line 27: | ||
} | } | ||
</pre> | </pre> | ||
− | There is only one method, main(), in this RingWraith class: the other statements at the beginning declare '''variables'''. The five variables here are the most frequently used sorts. | + | There is only one method, main(), in this RingWraith class: the other statements at the beginning declare '''variables'''. Variables are places where the program can remember information. You can think of them as like little boxes, or perhaps whiteboards where you can write and erase things you want to remember. The five variables here are the most frequently used sorts. |
There are many '''basic types''', but here we shall concern ourselves with only four. | There are many '''basic types''', but here we shall concern ourselves with only four. |