Examveda

Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class.

A. static

B. final

C. abstract

D. native

E. volatile

Answer: Option A


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

Join The Discussion

Comments (1)

  1. Sai Prakash
    Sai Prakash:
    10 years ago

    static is a keyword used near the class but not inside the method which holds the state during the method calls also

Related Questions on Declaration and Access Control