Review Of Variables, Arguments, and Returns
From Huben's Wiki
(Created page with "Can you: # Spot the difference between a variable definition and a method signature? # Name the 4 most important basic types for variables? # Say what other type we use frequentl...") |
|||
Line 1: | Line 1: | ||
+ | Have written answers to each of these questions. Demonstrate that you can, with an example, rather than saying "yes I can". | ||
+ | |||
Can you: | Can you: | ||
+ | # Name (if I give you an example) and explain all the bold terms in all the lessons? | ||
# Spot the difference between a variable definition and a method signature? | # Spot the difference between a variable definition and a method signature? | ||
# Name the 4 most important basic types for variables? | # Name the 4 most important basic types for variables? | ||
Line 19: | Line 22: | ||
# Tell me which class you must run if you are working with more than one class? | # Tell me which class you must run if you are working with more than one class? | ||
# Say what the reserved word 'return' does? | # Say what the reserved word 'return' does? | ||
+ | # Identify other reserved words that we have covered? | ||
+ | # Explain the scopes of fields, arguments, and local variables? | ||
+ | # Write literals for int, double, and String? | ||
# Tell me the two parts of a variable declaration? | # Tell me the two parts of a variable declaration? | ||
# Identify in a method declaration the: | # Identify in a method declaration the: | ||
Line 28: | Line 34: | ||
# Create an array of doubles in a main with at least two elements that you pick at random. | # Create an array of doubles in a main with at least two elements that you pick at random. | ||
# Call your simple method in main with your array, and print the result. | # Call your simple method in main with your array, and print the result. | ||
+ | # Remember all the things from the previous [[Review Of Demonology Beginnings]]? |