AP Computer Science A

study guides for every class

that actually explain what's on your next test

Method

from class:

AP Computer Science A

Definition

A method is a named sequence of instructions that can be called or invoked to perform a specific task or action. Methods are used for code reusability, organization, and abstraction.

congrats on reading the definition of Method. now let's actually learn it.

ok, let's learn stuff

"Method" also found in:

Practice Questions (20+)

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.