|
Do you imagine that the computers of the 1960's were built to handle audio data? A good answer might be:No---certainly this was not a common use for computers then. | ||||||||
Primitive Data TypesBut some 1960's computers did deal with audio data; it was merely a case of inventing a way to represent audio with bit patterns then writing the programs for it. It would be awkward if every time you used data you had to invent your own scheme to represent it with bits. There are types of data that are so fundamental that ways to represent them are built into Java. These are the primitive data types. The names of the eight primitive data types are:
In Java, upper and lower case characters matter in names, so "byte" is the name of a primitive data type, but "BYTE" is not. Computer languages that behave like this are called case sensitive. In the phrase "primitive data type" the word "primitive" means "a fundamental piece that is used to create other, larger parts." | ||||||||
QUESTION 4:
Is |