Learning Java/Objects and Classes: Difference between revisions

Content deleted Content added
Line 27:
}
</pre>
Fields have many purposes, as they are global vasdfdfdfadsffdsgfgfgfsdgfgfdgdariablesvariables. They can be accessed from outside the class in objects (see Objects).
 
==Methods==