1 Answer - Sort by: Date | Rating
The programming languages use commands to perform any task. These commands are written in a specific syntax. The complier (or interpreter) recognizes these commands. These commands have special meaning for the compilers. These commands can be functions, methods or data manipulations commands. All these commands are the reserve words. Theses commands have predefined meaning for the compilers.
The variables are the used to store the data during the program execution. These variables can have any name other than the reserve words. The user defined functions or classes also follow this rule of naming. If we name variables same like the reserve words than the complier may show an error message. For example, IF is a reserve word, which is used almost in all type of languages. We cannot use this reserve word as a variable name. The programmers normally use different techniques to avoid conflict between the variable name and the reserve words. One technique is to use hyphen in the variable name.
The reserve word problem is also faced when we name a file. Some names are reserved for specific hardware. We cannot files for these reserved hardware names. The examples of these names are CON, PRN, COM and etc.
The variables are the used to store the data during the program execution. These variables can have any name other than the reserve words. The user defined functions or classes also follow this rule of naming. If we name variables same like the reserve words than the complier may show an error message. For example, IF is a reserve word, which is used almost in all type of languages. We cannot use this reserve word as a variable name. The programmers normally use different techniques to avoid conflict between the variable name and the reserve words. One technique is to use hyphen in the variable name.
The reserve word problem is also faced when we name a file. Some names are reserved for specific hardware. We cannot files for these reserved hardware names. The examples of these names are CON, PRN, COM and etc.
0
0
- What Is An Attribute In Java?
- Why Do We Use Public Static Void Main In Java?
- Do I Have To Write A Main Method In Every Class I Create?Why?
- Do I Have To Write A Main Method In Every Class I Create?
- What How The Step For Make Library Management?
- In Which Process We Can Start Java?
- Define The Concept Of Java Byte Code?
- How To Run Remote Method Invocation In More Machine?
- How To Run Java Remote Method Invocation In More Machine?
- How To Make A Java Program That Will Ask The User To Input A Number And Display All The Even Number And The Sum Of All Even Numbers Based On The Inputted/ Given Numbers?
- Is A Static Variable An Instance?
- How To Compile And Run Java Package?
- What Does Literati-on Mean?
- What Is Abstract Class In Details?
- What Is Meant By Remote Method Invocation In Java?
- What Is Meant By Package In Java?
- What Is Meant By Servlet In Java?
- When Was Java Released?
- What Is Latest Technologies In Java?
- Write A Program Using Do…..while Loop To Calculate And Print The First M Fibonacci Numbers?
- What Is The Difference Between Reference &instance Variable?
- Why Java Is Slow?
- What Is The Drawback Of Ms Access?
- What Is Replaced In Place Of Pointers In Java?
- What Replaces Pointers In Java?

New Comment - Comments are editable for 5 min.