Java Programming - Language Fundamentals - Discussion
Discussion Forum : Language Fundamentals - General Questions (Q.No. 2)
2.
Which one of these lists contains only Java programming language keywords?
Answer: Option
Explanation:
All the words in option B are among the 49 Java keywords. Although goto reserved as a keyword in Java, goto is not used and has no function.
Option A is wrong because the keyword for the primitive int starts with a lowercase i.
Option C is wrong because "virtual" is a keyword in C++, but not Java.
Option D is wrong because "constant" is not a keyword. Constants in Java are marked static and final.
Option E is wrong because "include" is a keyword in C, but not in Java.
Discussion:
64 comments Page 6 of 7.
Veerapaga srinivasulu said:
1 decade ago
Yes goto is Java keyword but not use.
Naseem said:
8 years ago
Wrong, "goto" is not a java keyword.
(1)
Alok Raj Singh said:
8 years ago
But goto is also use in C Language.
(1)
Rahul said:
1 decade ago
What's the whole idea behind this ?
Tarun said:
2 decades ago
Java does not have 'goto' key word.
Swarna said:
1 decade ago
What is the use of native key word?
Debayan Roy said:
1 month ago
Please explain me to understand.
Deepak kumar J said:
1 decade ago
When goto keyword used in Java.
Suman said:
10 years ago
Why goto keyword is not used?
Krishna patel said:
9 years ago
The, What about volatile?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers