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
How to make a class or a bean serializable?
Why can't we make a class private in java?
Differences between external iteration and internal iteration?
how to handle exceptions in ejb?
What lambda means?
What is the advantage of functional interface in java 8?
Is arraylist sorted in java?
What is time complexity java?
Can we extend singleton class?
Can I overload to string method
What do you understand by Header linked List?
In case of inheritance what is the execution order of constructor and destructor?
Difference between a class and an object?
Why wait and notify methods are declared in object class?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?