Changes

Jump to navigation Jump to search
m
Line 19: Line 19:  
A method is a function that is encapsulated within a class.  Methods have some level of scope and some mechanism for inheritance.
 
A method is a function that is encapsulated within a class.  Methods have some level of scope and some mechanism for inheritance.
   −
Different languages support different types of scoping.  Typically, these levels are:
+
Different languages support different levels of scoping.  Note that this scoping can apply to either data or methods, or both.  Typically, these levels are:
 
<ul>
 
<ul>
 
<li><b>Private</b>: The method is only visible to methods within the class.</li>
 
<li><b>Private</b>: The method is only visible to methods within the class.</li>
SkipCaptcha
292

edits

Navigation menu