Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /home/e5m7uo8vro0d/public_html/mediawiki/includes/MagicWord.php on line 860
Review Of Demonology Beginnings - Huben's Wiki

Review Of Demonology Beginnings

From Huben's Wiki
Jump to: navigation, search
Line 22: Line 22:
 
# When you click Compile in Dr. Java, object files are created.  What is their suffix?
 
# When you click Compile in Dr. Java, object files are created.  What is their suffix?
 
# How do class names differ from method names?
 
# How do class names differ from method names?
# What does a double slash // signify?
 
# What is the alternative to // ?
 
 
# What exception do we see in the names of constructor methods?
 
# What exception do we see in the names of constructor methods?
 
# Where does '''System.out.println("Hello world!");''' print?
 
# Where does '''System.out.println("Hello world!");''' print?
Line 29: Line 27:
 
# How can you call a method from another class?  Two ways.
 
# How can you call a method from another class?  Two ways.
 
#  If I see a statement such as '''q = Math.log(f);''', what class and method can I infer?
 
#  If I see a statement such as '''q = Math.log(f);''', what class and method can I infer?
 +
# What does a double slash // signify?
 +
# What is the alternative to // ?
 
# You should now know enough to write a simple class, with one solitary method that prints "Don't worry, be happy!".  Choose the names of your class and method yourself.  No arguments, no return value, yet the method should still have a return type: the mystical value '''void'''.  Worry not about '''public''' and '''static''': you may omit them for now.
 
# You should now know enough to write a simple class, with one solitary method that prints "Don't worry, be happy!".  Choose the names of your class and method yourself.  No arguments, no return value, yet the method should still have a return type: the mystical value '''void'''.  Worry not about '''public''' and '''static''': you may omit them for now.
  
 
On the test, you will answer questions of these sorts and more!  You will have to examine some dread and loathsome code and answer questions about it.  Conundrums and riddles of mythic proportions!  Gird your mystic loins to do battle with the wits of I, your mentor!
 
On the test, you will answer questions of these sorts and more!  You will have to examine some dread and loathsome code and answer questions about it.  Conundrums and riddles of mythic proportions!  Gird your mystic loins to do battle with the wits of I, your mentor!

Revision as of 13:05, 20 September 2012

Personal tools
translate