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
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
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. I need full code for sending SMS. Please send to m
View Tutorial By: Ramesh at 2014-05-21 06:54:52
2. this what i get on the servlet web page plz some o
View Tutorial By: boney dsilva at 2012-09-19 15:37:09
3. it is perfectly working...
View Tutorial By: Venkatesh at 2014-09-21 06:54:39
4. hello after working with this code i got the follw
View Tutorial By: Tapaswini Sabat at 2011-11-05 12:43:49
5. Hi, You can use a javascript array. Which means wh
View Tutorial By: Mashoud at 2008-05-04 02:54:38
6. Can anybody tell the steps to go ahead with the ex
View Tutorial By: Sunpenn at 2009-10-12 03:57:58
7. hey i need a sms recieving code....
View Tutorial By: Kishore at 2009-08-06 09:11:13
8. thanks ....
View Tutorial By: shiva at 2011-02-28 11:16:32
9. Is so easy work with FacesContext. For me, the get
View Tutorial By: Fred at 2009-03-11 08:42:59
10. this article is excellent....solve all my doubt re
View Tutorial By: pramodk at 2011-07-18 14:22:18