Examveda
Examveda

In Java, what is the purpose of the static keyword when applied to a variable?

A. It makes the variable non-static.

B. It initializes the variable.

C. It allows access from any class.

D. It makes the variable constant.

Answer: Option C


This Question Belongs to Java Program >> Declaration And Access Control

Join The Discussion

Related Questions on Declaration and Access Control