Please enable JavaScript.
Coggle requires JavaScript to display documents.
java type system - Coggle Diagram
java type system
types
primitive types
2 kinds
boolean types
numeric types
byte
short
int
long
char
float
double
values
primitive values
reference types
4 kinds
class type
interface type
array type
type variables
values
reference value
points to object
an object is dynamically created instance of a class or dynamically created array
all object support methods of class object
String literal are represented by String object
object can be created explicitly or implicitly
null reference
Object class
super type of all classes
class object
represents the class of the object
string class
represents sequence of unicode cod epoints
string literals are reference to instance of String class
type equality
at runtime
at compile time
type variable
parameterized types
type erasure
mapping from types to types
the from type possibly include type variable and parameterized types
the to types are never type variable or parameterized types
reifiable types
raw types
intersection types
the members are member of the class or interface it includes
attributes
statically typed
strongly typed
variables
8 kinds
class variable
instance variable
array components
method parameter
constructor parameter
lambda parameter
exception parameter
local variable