study guides for every class

that actually explain what's on your next test

Public class

from class:

AP Computer Science A

Definition

A public class is one that can be accessed and used by any other class or program. It serves as the blueprint for creating objects and contains variables and methods.

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

ok, let's learn stuff

"Public class" also found in:

Practice Questions (13)

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