Home / Java Programming / Language Fundamentals :: Discussion

Discussion :: Language Fundamentals

  1. Which is a reserved word in the Java programming language?

  2. A.
    method
    B.
    native
    C.
    subclasses
    D.
    reference
    E.
    array

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The word "native" is a valid keyword, used to modify a method declaration.

    Option A, D and E are not keywords. Option C is wrong because the keyword for subclassing in Java is extends, not 'subclasses'.


Be The First To Comment