A static field is created by placing: A. the key word static after the field name B. the key word static after the access specifier and before the field's data type C. the key word static after the access specifier and field's data type D. it in a static field block

Respuesta :

Answer:

Option B the key word static after the access specifier and before the field's data type

Explanation:

In object oriented programming context, a static field is a variable that belongs to a class instead of a specific instance of the class. This means the value of the static field can be accessed without an instance.

To create static field in Java, the keyword "static" is needed. The static keyword is placed  after the access specifier and before the field's data type. For example:

static  int counter = 0

We can access the static field (e.g. counter) using the syntax as follows:

className.counter