What is meant by a primitive data type?

Posted by Appy on Programmers See other posts from Programmers or by Appy
Published on 2012-03-14T14:52:32Z Indexed on 2012/04/09 23:47 UTC
Read the original article Hit count: 272

Filed under:

My understanding of a primitive datatype is that

It is a datatype provided by a language implicitly (Others are user defined classes)

So different languages have different sets of datatypes which are considered primitive for that particular language. Is that right?

And what is the difference between a "basic datatype" and "built-in datatype". Wikipedia says a primitive datatype is either of the two.

PS - Why is "string" type considered as a primitive type in SNOBOL4 and not in Java ?

© Programmers or respective owner

Related posts about data-types