๐Ÿ’ปap computer science a review

Public static void

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

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.

"Public static void" also found in: