Tokens used in Java Programs
Reserved Keywords, Identifiers, Literals, Operators, Separators
A Java program is basically a collection of classes. A class is defined by a set of declaration statements and methods containing executable statements. Most statements contain expressions, which describe the actions carried out on data. Smallest individual unit in a program are known as tokens. The compiler recognizes them for building up expressions and statements.
Java Character Set
The smallest units of Java language are the characters used to write Java tokens. These characters are defined by the Unicode character set, and emerging standard that tries to create characters for a large number of scripts world wide.
The Unicode is a 16-bit character coding system and currently supports more than 34,000 defined characters derived from 24 languages from America, Europe, Middle East, Africa and Asia. However, most of us use only the basic ASCII characters, which include letters, digits and punctuation marks, used in normal English. We therefore, have used only ASCII character character set (a subset of UNICODE character set) in developing the programs.
The Unicode is a 16-bit character coding system and currently supports more than 34,000 defined characters derived from 24 languages from America, Europe, Middle East, Africa and Asia. However, most of us use only the basic ASCII characters, which include letters, digits and punctuation marks, used in normal English. We therefore, have used only ASCII character character set (a subset of UNICODE character set) in developing the programs.
Java language includes five types of tokens and they are:
goooooooooood work hmmmmmmm
ReplyDeletevery nice.. for more java examples, visit http://java2novice.com site.
ReplyDeletevery good website. Just became a fan of it!!!!!!!!!!!!!!!!!!!
ReplyDeleteVery Useful. For more examples visit http://answersz.com
ReplyDeleteI guess you should add some more examples here, because this post is java-newbie-oriented, right? I actually got my fist practices in backend-programming for not so long ago, so I still have some memories about how hard it was to learn lang via poor-detailed articles with no practical examples.. So I'd used these Java tutorials https://explainjava.com/ in order to get as more background info and pratices as I could digest. Believe it or not, these very courses and some freelance project were made a really well-experienced backender of me :D No offence, but at this point now your article is quite zero helpful, so I suggest you to do some eits with that for good..
ReplyDeleteNice java tutorial . You explained very well.
ReplyDeleteThanks