answersLogoWhite

0

Some basic conventions are:
1. you cannot have keywords as names
2. All identifiers have to start with an alphabet
3. Except '_' and '$' no other special character is allowed in names
4. When there are multiple words in an identifier we usually capitalize the first alphabets of each word. For example if an identifier represents name of employee then we name it as nameOfEmployee. The first word would remain normal with no capitalization

etc...

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Full form of jndi in java?

JNDI stands for Java Naming and Directory Interface JNDI is an API specified in Java technology that provides naming and directory functionality to applications written in the Java programming language


What are the differences between C and Java reference variables?

Java does not have the concept of Reference Variables. We cannot access the memory location where the data is stored in Java.


What does the acronym JNDI stand for?

The acronym 'JNDI' stands for Java Naming and Directory Interface. What this refers to is the naming system for Java, a computer programming language.


Does java consider the variables Hello and hello to be different variables?

no


Why there are no global variables in java?

Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:The global variables breaks the referential transparencyGlobal variables creates collisions in namespac


What is the syntax of global variable in java?

There's no global variables in Java.


How we can get address of variables in Java as pointer variables in C?

At any given point of time you cann't get the address of a variables of java program. This is meant for security purpose only.


In java all variables declared using a class are?

Reference variables


Are static variables serialized in java?

No, static variables are not serialized.


What are the rules for naming new elements?

The IUPAC rules for naming new chemical elements are at this link.


Can you define variables in interface in java?

yes we can define a variable in an interface in java.


Are variables automatically initialized by Java if the programmer does not?

no