Comment on Tutorial - Using StringTokenizer in Java By Emiley J



Comment Added by : lucky

Comment Added at : 2011-05-06 23:05:22

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!

please help me how to start this program, i can't start this kind of program because i don't have a background in java ..


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. i created report. but i move to second page all de
View Tutorial          By: nadeekadn at 2012-04-30 10:11:42

2. Your page does not show the text in the proper col
View Tutorial          By: Warron at 2013-04-04 17:50:22

3. good information
View Tutorial          By: varun at 2013-01-04 14:51:19

4. thanks for the definition...more power :)
View Tutorial          By: saluki at 2011-07-19 05:36:00

5. Hi Friends.... Can you please send the working ver
View Tutorial          By: shafi at 2010-02-18 08:28:49

6. what we have to write in simple comparator class
View Tutorial          By: shiva at 2015-04-18 09:19:17

7. thanks!
View Tutorial          By: leny at 2014-12-09 04:00:44

8. Thanks for Your valuable Explanation.
View Tutorial          By: Srikanth at 2012-12-24 10:49:02

9. it very usefull to introduse the j2me to me

View Tutorial          By: Sudhir at 2011-08-31 13:05:40

10. Exception in thread "Thread-0" java.lang
View Tutorial          By: yash at 2009-09-16 06:12:32