In the context of Java, which of the following keywords is used to declare…

PYQ IBPS SO CRP SPL-XII (2022)

In the context of Java, which of the following keywords is used to declare class-level variables and methods, ensuring that they can be accessed without creating an instance of the class?

  1. A.

    final

  2. B.

    static

  3. C.

    transient

  4. D.

    volatile

  5. E.

    synchronized

Attempted by 25 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…