What is static in java?

DWQA QuestionsCategory: QuestionsWhat is static in java?
Editor Staff asked 3 weeks ago

What is static in java?

1 Answers
Editor Staff answered 3 weeks ago

In Java, a static member is a member of a class that isn’t associated with an instance of a class. Instead, the member belongs to the class itself. As a result, you can access the static member without first creating a class instance.