Which keyword is used to declare a variable that belongs to the class itself instead of to any individual object?

Choose the correct answer

Explanation

The keyword 'static' designates a variable as belonging to the class rather than to any specific instance. This means all instances share the same variable. Other keywords like 'abstract', 'volatile', and 'final' serve different purposes unrelated to class-level variable declaration.

Which keyword is used to declare a variable that bel… — Java concepts and its programming | PakQuizHub