Multiple choice technology programming languages

In Java, static means

  1. one per method

  2. one per object

  3. one per class

  4. one per package

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Java, the 'static' keyword indicates that a member (field or method) belongs to the class itself rather than to individual instances (objects) of the class. There is only one copy of a static member shared by all instances.