Lecture 5 Chapter 6 Methods

ChemistryWiki | RecentChanges | Preferences

public - can be called outside from called from outside its class private - can only be called from class in which it is called

i.e. A Method (static, nothing passed to it, nothing return) i.e public static void printHelloWorld?() { System.out.println("Hello World"); }

Pg229 Q3, Q4(average), 11 (Crap simulation)


ChemistryWiki | RecentChanges | Preferences
Edit text of this page | View other revisions
Last edited March 24, 2010 8:51 pm (diff)
Search: