AP Computer Science A

study guides for every class

that actually explain what's on your next test

Public static void

from class:

AP Computer Science A

Definition

Public static void is the signature of a method in Java that has no return value (void) and can be accessed from anywhere within the program (public). Static means the method belongs to the class itself rather than an instance of the class.

© 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.