What is the minimum and maximum length of an identifier?
Answers were Sorted based on User's Feedback
Answer / manu
There is no limit to the length of an identifier in Java.
It will start with letter or _ or $
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / jai
From a language specification perspective, there is no
limit. From a class file perspective, there is a 64K byte
limit to names. For ASCII identifiers, that would be 65535.
For identifiers beyond the ASCII range, that could be
considerably less, as they are stored in Unicode Transfer
Format (UTF), taking up from 2-3 bytes / character.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / manu
There is no limit to the length of an identifier in Java.
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / sohan
Some compilers take 8 bit atmost.But max length is 31.(in
case of C)
| Is This Answer Correct ? | 3 Yes | 9 No |
Can size_t be negative?
do I need to use synchronized on setvalue(int)? : Java thread
What is the role of garbage collector in java?
How many ways can you break a singleton class in java?
what is the main difference between string and stringbuffer? can you explain it with program?
Explain about interthread communication and how it takes place in java?
I need some details about an employee. i have only the employee id in my presentation layer(JSP).I entered that ID and click "Show Details" Button. Question is how the JSP pass that id to Controller layer and DAO and what mechanism we are using to retrive data from DB and how the data passed to JSP as a Output. Please explain in detail.
Can we create a class inside a class in java?
Which number is denoted by leading 0x or 0x in java?
Is it possible to create object with out its default constructor? if possible how? else not possible? justify
What is the difference between constructor and method?
What is the difference between serializable and externalizable interfaces?