Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed?
Answer Posted / ranganathkini
The following are the attributes of the character that is
part of a Java identifier but not as the first character:
* it is a letter
* it is a currency symbol (such as '$')
* it is a connecting punctuation character (such as '_')
* it is a digit
* it is a numeric letter (such as a Roman numeral character)
* it is a combining mark
* it is a non-spacing mark
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Write an algorithm for quick sort?
Who developed java?
What are the limitations of procedural programming approach?
What does split function do in java?
Explain the public class modifier?
Which method returns the length of a string?
Difference between arraylist and vector.
What does += mean in java?
Can a static method be final?
What does the @override annotation do?
Is logger a singleton?
Why main function is static?
What's the purpose of using break in each case of switch statement?
Can we make a constructor final?