Java DataTypes – primitive & non primitive
DataType defines a particular kind of data or value it can take Primitive DataType: Primitive means “very basic”. In Java, primitives are the most basic kinds of data types and they directly contain values like int, char etc. NonPrimitive DataType: Non primitive datatypes are those which uses primitive datatype as base like array, class etc.…