| Sophie ( |
I realise I forgot to talk about what methods are in this post. I'll edit the post a bit later to add the information, though right now I'm a bit tired.
Very simply, though: Methods are code routines that an object can have, which can interact with the memory store of that object. For example, a door might have "open" and "close" methods, which changes whether the door is opened or closed, and a book might have a "nextPage" method, which flips to the next page. (And the RTLBook class would probably have its own "nextPage" method.)
Very simply, though: Methods are code routines that an object can have, which can interact with the memory store of that object. For example, a door might have "open" and "close" methods, which changes whether the door is opened or closed, and a book might have a "nextPage" method, which flips to the next page. (And the RTLBook class would probably have its own "nextPage" method.)
(Reply to this) (Thread)
