Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I was asked to specify the systax of an identifier injava. From my research, an

ID: 3608660 • Letter: I

Question

I was asked to specify the systax of an identifier injava. From my research, an identifier in java could be say amethod, class, variable etc. int a; ->would this be the sytax of a varible? public static void print(){ -> I am taking this to be thesyntax of a method.    statements; } Am I on the right track? I was asked to specify the systax of an identifier injava. From my research, an identifier in java could be say amethod, class, variable etc. int a; ->would this be the sytax of a varible? public static void print(){ -> I am taking this to be thesyntax of a method.    statements; } Am I on the right track?

Explanation / Answer

Every programming language has itsown set of rules and conventions for the kinds of names that you'reallowed to use, and the Java programming language is no different.The rules and conventions for naming your variables can besummarized as follows:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote