+ 3
Plz any one tell me what is the error in this java program ???
2 Antworten
+ 5
You can't use keywords as identifiers.
The String 'new' needs a different name.
length() is also a method in the String class, not an attribute.
So, you must have parenthesis:
'x.length()'
+ 4
thanks friends to make me realized what silly mistake i have done