Comment on Tutorial - Using StringTokenizer in Java By Emiley J



Comment Added by : lucky

Comment Added at : 2011-05-06 23:01:43

Comment on Tutorial : Using StringTokenizer in Java By Emiley J
Create a lexical analyzer of the C- programming language using Java program. The following statements available in C- are as follows:

Variable Declarations:
1. Variable must start with a letter and can be followed by a number.
2. Special characters are invalid variable name.
3. Variable must be declared before the corresponding data type.
Data types:
int char
float double
Sample variable declarations:
int A, B, C1.
Operators:
Mathematical Operators
1. Addition (+)
2. Subtraction (-)
3. Multiplication (X)
4. Division (/)
Logical Operators
1. Not (!)
2. AND (&)
3. OR (| )
Relational Operators
1. Greater than (>)
2. Less than (<)
3. Equal (==)
4. Less than equal (<=)
5. Greater than equal (>=)
6. Not equal (!>)
Assignment operator (:)
RESERVED WORDS
PRINT
INPUT
START
END
IF
ELSE
FOR
WHILE
DO WHILE
NOTE: All statements are terminated by period!


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. good but you don't express the programs examples
View Tutorial          By: anchal at 2010-09-29 02:40:02

2. Good explaination, easy to understand
thank

View Tutorial          By: channaveer at 2010-05-02 05:03:21

3. Very well explained and perfectly summarised.
View Tutorial          By: Sachin at 2009-08-30 12:39:27

4. I have an error on step 0:

recipien

View Tutorial          By: xenogaz at 2009-01-28 02:43:50

5. Its self-explaining and fullfilling example.
View Tutorial          By: vijay at 2010-03-29 02:36:41

6. Good one. Keep up the good work.
View Tutorial          By: zubair at 2012-02-23 10:18:36

7. is good bot not full
View Tutorial          By: amin parishani iran at 2010-07-07 10:51:33

8. Which one is the inbuilt Abstract class in java
View Tutorial          By: vikas jain at 2013-04-16 07:25:33

9. Hai Guys..
Itâs nice to see your di

View Tutorial          By: Santosh at 2010-09-19 08:17:52

10. Thanks for the article. I finally finish my task a
View Tutorial          By: bali web at 2012-07-10 13:47:49