Indentifiers?!!?( clueless)?!?

does any body know what an identifier error is?
[54 byte] By [Black_Prince] at [2007-9-27 20:57:49]
# 1

From "Java Language Specification":

"An identifier is an unlimited-length sequence of Java letters and Java digits, the first of which must be a Java letter. An identifier cannot have the same spelling (Unicode character sequence) as a keyword, Boolean literal, or the null literal."

> See documentation for details.

dekassegui at 2007-7-7 2:37:51 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2

Usually, when an identifier error occurs, the code did not declare that identifier or maybe mispelled the identifier. For example:

int i;

System.out.println("The value of y is " + y); //identifier error here because y is not declared

- - - - - - - - - - - -

//another example Myclass is defined

class Myclass {

private String className = "This is Myclass";

public Myclass() { }

public testMethod() { System.out.println("test method invoked"); }

}

//in the main method

Myclass example = new Myclass();

example.myMethod(); // identifier error here because myMethod is not declared in Myclass

kuyalfinator at 2007-7-7 2:37:51 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
In short, it is a variable name.
phyzome at 2007-7-7 2:37:51 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 4
> In short, it is a variable name.No. It is an identifier. Method names, class names and package names are also identifiers. And it is possible to get errors for those because the identifier rules are not followed.
jschell at 2007-7-7 2:37:51 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...