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" ??

4th Jul 2017, 8:00 AM
mahendra mahajan
mahendra mahajan - avatar
2 ответов
+ 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.
4th Jul 2017, 1:48 PM
Handy
Handy - avatar
+ 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
4th Jul 2017, 4:08 PM
Vaibhav Tandon
Vaibhav Tandon - avatar