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?
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.
Vishnu said:
9 years ago
In which way, 'native' is a reserved word in Java?
Papuagri Rama devi said:
9 years ago
Tell me, how to use keyword native in programming?
Rajeev said:
10 years ago
In the question it's about reserved word and the reserved words in java are goto and const.
Disha said:
1 decade ago
Hey, could you please give an example of using "native" keyword?.
Shibasis nayak said:
1 decade ago
Native is a keyword that is used in java which identify that a method whose body can be implemented by outside of java class.
Syntax: Native return type method();
Syntax: Native return type method();
Nandhini said:
1 decade ago
Native is like different in java keyword.
Rahul yadav said:
1 decade ago
All machine code define inside native.
Mahendra said:
1 decade ago
The word "native" is a valid keyword, used to modify a method declaration.
Explanation is like this then where did you modify method declaration in that program.
Explanation is like this then where did you modify method declaration in that program.
Anuj said:
1 decade ago
May you tell me where do we use native keyword?
Yogesh pawar said:
1 decade ago
What is use of native method, where we will be use it?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers