Review Of Variables, Arguments, and Returns
From Huben's Wiki
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: |