Java Programming - Language Fundamentals - Discussion

Discussion Forum : Language Fundamentals - General Questions (Q.No. 4)
4.
Which is a reserved word in the Java programming language?
method
native
subclasses
reference
array
Answer: Option
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'.

Discussion:
25 comments Page 2 of 3.

Jaswanth Nelam said:   4 years ago
@Rushikesh.

No, it's not a return type, it is a keyword.

Priya said:   8 years ago
What is the use of native keyword?

Why we use native?
(1)

Yogesh pawar said:   1 decade ago
What is use of native method, where we will be use it?

Papuagri Rama devi said:   9 years ago
Tell me, how to use keyword native in programming?

Vishnu said:   9 years ago
In which way, 'native' is a reserved word in Java?

Rushikesh said:   7 years ago
native is the return type of method or function.

Anuj said:   1 decade ago
May you tell me where do we use native keyword?

Ijaz said:   1 decade ago
I want simple program for 'native' keyword?

Nandhini said:   1 decade ago
Native is like different in java keyword.

Rahul yadav said:   1 decade ago
All machine code define inside native.


Post your comments here:

Your comments will be displayed after verification.