Example(s):Palindrome, prime, armstrong, "linear search", reverse etc.
Example(s):1575, 1632, 1539 (Only one at a time)
Login
[lwa]
Solved Problem!
#JAVA#3825
Problem Statement - Marking Identifiers in a program
Write down both the programmer defined and java library defined identifiers in the following program
TC++ #3825
Solution
Programmer defined identifiers
SP_Identifiers
d
a
b
Java Library Defined Identifiers
main
String
args
System
out
println
Notes
Identifiers can be given to any variable, class, object, method, package etc. So every name given by the programmer or by programmers who created java packages and libraries, other than reserved words, keywords, operators, punctuators is an identifier.
Common Errors
Students often forget to mark java library defined identifiers correctly.
Students also forget to mark the class name also as an identifier.