AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

AP Unit 4 Vocabulary Flashcards

Terms : Hide Images
8567422009Void MethodsA section of code belonging to a class that is given a name, has parameters, and does not return a value.0
8567422010A parameterThe local variable in a method header that holds the data sent in.1
8567422012ArgumentThe data sent to a method. that must match the parameter data type it is getting sent to.2
8567422013Primitive Types as ParametersWhen 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
8567422014Class Types as ParametersWhen 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
8567422015The return commandSends a value back to the calling method.5
8567422017Return MethodsMethods 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
8567422018Overloaded methodsWhen a program has more than one method with the same name.7
8567422019SignatureNumber and types of parameters8
8567422021RecursionA method that repeats by calling itself.9
8567422023The stackThis 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

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!