Primitive Data Types:
Primitive data types are described in a program by language specific keywords
Primitive data type in Java
Java defines eight primitives
C/C++ basic data types are :
Composite Data Types
Complex data types are defined using combination of priimitve types. Composite data types can be arrays, vector and strings.
Array : An array is a collection of homogenous data types
Vectors: Vector are mathematical representation of arrays
String: A strings is a combination of characters
Primitive data types are described in a program by language specific keywords
Primitive data type in Java
Java defines eight primitives
- int
- char
- byte
- short
- long
- float
- Boolean
- double
C/C++ basic data types are :
- int
- float
- char
- double
- short
- long
- signed
- unsigned
- Integer
- Long
- Single
- Souble
- Boolean
- Byte
- Dim
- Private
- Public
- Static
Composite Data Types
Complex data types are defined using combination of priimitve types. Composite data types can be arrays, vector and strings.
Array : An array is a collection of homogenous data types
Vectors: Vector are mathematical representation of arrays
String: A strings is a combination of characters
No comments:
Post a Comment