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 |
Is java is a fully object object oriented language?
What are the differences between graph and tree?
what are the disadvantages of indexes in oracle?
0 Answers 3i Infotech, Wells Fargo,
Explain public static void main(string args[]) in java.
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Difference between Map & Hashmap
Explain method overloading and overriding?
What is the major difference between linkedlist and arraylist?
Does java allow overriding static methods ?
Can a constructor be made final?
How many arguments can a method have java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
0 Answers Akamai Technologies,