0
What is the meaning of syntax in java?
According to me each and every programming language (in this case java) has its own way of arranging TOKENS for some specific tasks, and this way if arranging is called syntax. "I am correct or not" ??
2 Antworten
+ 1
I think syntax is just the rule of formatting your code so that it is recognized by the Java compiler. It defines keywords, operators, ordering, etc.
+ 1
Like a particular language such as English.It has particular grammar rules for writing and speaking similar is the case for programming languages .Each and every programming language has its own way of writing and which is written according to some set of rules known as Syntax