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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. Hy plz help me for also draw to flowchart.........
View Tutorial By: khadija at 2010-11-13 11:38:31
2. can u please help me to read excel sheet in VB
View Tutorial By: Mohd at 2009-07-05 05:03:11
3. site is very good explanation is very clear throug
View Tutorial By: sridevi at 2013-03-20 15:26:29
4. Can some body throw more light on TRANSIENT ....
View Tutorial By: Anish at 2010-08-03 07:30:58
5. Everything is running.... But it doesn't send....
View Tutorial By: Amirtharaj at 2009-04-14 05:26:26
6. thanks to this site which get me understand about
View Tutorial By: Sayak at 2012-10-08 15:57:25
7. hi, would you please send me the detail to impleme
View Tutorial By: nayeem at 2009-03-13 08:47:27
8. Hi Grenfel, would this be possible??
View Tutorial By: Lerianne at 2012-08-20 11:37:32
9. hi this is from iniyan....
can you send t
View Tutorial By: iniyan at 2007-09-09 06:50:18
10. very useful...!
View Tutorial By: mahesh at 2012-01-06 09:55:59