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
- 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. Hi ,
please i need j2me appliacation :
View Tutorial By: youyou92 at 2014-12-01 18:20:52
2. 2nd example not gud
View Tutorial By: prakash at 2011-11-15 11:07:43
3. Very nice
View Tutorial By: sharath at 2012-07-17 11:31:20
4. can you give the program about the fast food by us
View Tutorial By: grace at 2008-09-22 00:48:37
5. Hi
Gr8 work......!!!!
thanks...!!!
View Tutorial By: Antim Jain at 2010-07-12 23:44:14
6. to get more and clear information about java progr
View Tutorial By: SWARNA at 2010-09-13 04:23:10
7. Hi Friends,
I got a very interestin
View Tutorial By: Rohit Kapur at 2011-07-27 20:56:57
8. Your example is clear crisp and very helpful..
View Tutorial By: sridhar at 2009-08-06 08:41:14
9. @Eric
You would have to know the lo
View Tutorial By: Guy at 2010-09-27 17:18:31
10. The best explanation....Thanq :)
View Tutorial By: Gautham at 2012-01-29 05:05:48