please answer fast
Identify the invalid identifier names and give reasons for the same.
i. class_name
ii. print
Answers
Answered by
1
Answer:
valid identifier must have characters [A-Z] or [a-z] or numbers [0-9], and underscore(_) or a dollar sign ($). for example, @javatpoint is not a valid identifier because it contains a special character which is @. There should not be any space in an identifier. For example, java tpoint is an invalid identifier.
Similar questions