static (Java)
static means a field or method belongs to the class itself rather than to any individual object. You can use a static member without creating an object first.
static means a field or method belongs to the class itself rather than to any individual object. You can use a static member without creating an object first.