A programming language is a set of rules, symbols, and special words. Thesyntax rules of a language determine which instructions are valid. The semantic rules determine the meaning of the instructions. Together these rules enable you to write programs to solve problems.
The smallest individual unit of a program written in any programming language is called a token. Java’s tokens are divided into special symbols, word symbols, and identifiers.
No comments:
Post a Comment