•In MODULA:
–CHAR type,
–string: ARRAY[0..20] OF CHAR
•In Java:
–char:
•uses the
16 bit Unicode,
•is
considered as an always positive integer type
•all
operations allowed on integers are allowed
–String :
•is a
specific class to represent strings.
•a String
is not an ARRAY OF CHAR.
•String's
can be concatenated by the + operator