What is the minimum and maximum length of an identifier?
Answer Posted / 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 |
Post New Answer View All Answers
Explain about class in java?
What is object in java?
Why are pointers not secure?
What is the difference between size and length in java?
How would you dynamically allocate memory to an array?
What is the full form of jpeg?
What are nested classes in java?
What is covariant return type?
What is java used for?
What is a top level class in java?
What are the important features of Java 11 release?
Explain the difference between a Thread and a Process.
Difference between arraylist and vector.
Why synchronization is important in java?
What does sprintf return?