8567422009 | Void Methods | A section of code belonging to a class that is given a name, has parameters, and does not return a value. | 0 | |
8567422010 | A parameter | The local variable in a method header that holds the data sent in. | 1 | |
8567422012 | Argument | The data sent to a method. that must match the parameter data type it is getting sent to. | 2 | |
8567422013 | Primitive Types as Parameters | When a method copies the value and stores it in the local parameter. Any changes made are lost when control returns to the calling function. | 3 | |
8567422014 | Class Types as Parameters | When a method copies the reference to the memory address and stores it in the local parameter. Since the reference points to the original spot in memory all changes are saved. | 4 | |
8567422015 | The return command | Sends a value back to the calling method. | 5 | |
8567422017 | Return Methods | Methods that send back any type of primitive or class data. When it sends back a primitive type it returns a copy of the value. When it sends back a class type it returns a reference to that data in memory. | 6 | |
8567422018 | Overloaded methods | When a program has more than one method with the same name. | 7 | |
8567422019 | Signature | Number and types of parameters | 8 | |
8567422021 | Recursion | A method that repeats by calling itself. | 9 | |
8567422023 | The stack | This is the location in memory where the interrupted method calls are stored. Once the base case is hit the program moves through the stack and carries out all the commands. | 10 |
AP Unit 4 Vocabulary Flashcards
Primary tabs
Need Help?
We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.
For general help, questions, and suggestions, try our dedicated support forums.
If you need to contact the Course-Notes.Org web experience team, please use our contact form.
Need Notes?
While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!