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
Can you explain the meaning of aggregation and composition
Why does my function print none?
What is unmodifiable collection in java?
What are the differences between heap and stack memory in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What are the parts of methodology?
Variables used in a switch statement can be used with which datatypes?
What is percentage in java?
Can you inherit a constructor java?
What is compareto () in java?
What is singleton class in java and how can we make a class singleton?
Java.util.regex consists of which classes?
what is the significance of listiterator in java?
What is difference between call by value and call by reference?
What is difference between classpath and path variables in java?