+ 5

What is the difference between keywords and reserved words?

19th Sep 2017, 4:14 PM
Napster
Napster - avatar
4 Answers
+ 10
keywords are words which convey special meaning to the language compiler ...they are reserved for special purposes &cannot be used as identifier wait... also .. u cannot use reserved words as identifier ,.... all keywords are reserved words but all reserved words are not keyword example :::goto is a reserved word in java but not a keyword
19th Sep 2017, 4:55 PM
Changed
Changed - avatar
+ 3
I still could not understand the difference.
24th Mar 2018, 5:25 PM
Napster
Napster - avatar
0
The answer is directly copied from stack overflow and quora
3rd Jan 2020, 8:58 AM
Parth Sharma
Parth Sharma - avatar
0
The main difference is just that, Reserve words are those special words that are reserved by company for future development or enhancement
4th Jan 2020, 5:19 PM
Parth Sharma
Parth Sharma - avatar